Click here to Skip to main content
12,622,913 members (32,206 online)
   

ASP.NET

 
GeneralRe: Back Page link with Attachment asp.net 4 Pin
εїзεїзεїз26-Nov-12 21:49
memberεїзεїзεїз26-Nov-12 21:49 
GeneralRe: Back Page link with Attachment asp.net 4 Pin
Zaf Khan27-Nov-12 8:55
memberZaf Khan27-Nov-12 8:55 
Questioncall javascript in button1_click in bihindcode Pin
jojoba201116-Nov-12 23:22
memberjojoba201116-Nov-12 23:22 
NewsSOVED ! Pin
jojoba201117-Nov-12 0:28
memberjojoba201117-Nov-12 0:28 
QuestionMessage Removed Pin
Fernando "Poorlyte" Girotto16-Nov-12 20:40
memberFernando "Poorlyte" Girotto16-Nov-12 20:40 
QuestionWhat is this doing Pin
rakeshs31215-Nov-12 23:10
memberrakeshs31215-Nov-12 23:10 
AnswerRe: What is this doing Pin
ryanb3116-Nov-12 8:41
memberryanb3116-Nov-12 8:41 
QuestionBuilding DOM from xml - asp.net controls, or html controls? Pin
lvq68415-Nov-12 22:17
memberlvq68415-Nov-12 22:17 
Hi.

I´ve been creating web pages for some years now, and been moving away from creating asp.net page-controls from codebehind because of the overhead they generate and the postback challenges you encounter. Instead I´ven been relying on javascript, jquery, old-school html elements and webservices, since they give me more elegant and light solutions.

The challenge I face now, is that it should be possible to construct a page based on a xml-setup file. The page design is luckily quite simple. It´s basically a vertical page with controls on top of each other.
I´m planning to create xml elements/types that define each control with it´s attributes. For an example a textbox with a css class, numeric text only value, which method to fire on textchanged, etc.. Or a button with a width, height, text, which (javascript?) method to fire upon click. Based on these types, I create the controls on the page.

My question is, should I create and insert these controls from codebehind, that means asp.net controls?
Or should I, for an example, build the dom in codebehind and let the javascript get the DOM from webservice, and then inject it on the page? Or what would be a good approach to this problem?

Thank you in advance Smile | :)

Kind regards,
Lars
AnswerRe: Building DOM from xml - asp.net controls, or html controls? Pin
jkirkerx16-Nov-12 9:13
memberjkirkerx16-Nov-12 9:13 
GeneralRe: Building DOM from xml - asp.net controls, or html controls? Pin
lvq68418-Nov-12 23:10
memberlvq68418-Nov-12 23:10 
QuestionRe: Building DOM from xml - asp.net controls, or html controls? Pin
n.podbielski17-Nov-12 2:47
membern.podbielski17-Nov-12 2:47 
QuestionChild config files Pin
indian14315-Nov-12 17:33
memberindian14315-Nov-12 17:33 
AnswerRe: Child config files Pin
jkirkerx16-Nov-12 9:54
memberjkirkerx16-Nov-12 9:54 
Questionbind multiple XMLDataSource to one Repeater Pin
jrahma15-Nov-12 4:19
memberjrahma15-Nov-12 4:19 
AnswerRe: bind multiple XMLDataSource to one Repeater Pin
Anurag Gandhi15-Nov-12 22:20
memberAnurag Gandhi15-Nov-12 22:20 
QuestionAspx control Pin
rakeshs31214-Nov-12 22:07
memberrakeshs31214-Nov-12 22:07 
AnswerRe: Aspx control Pin
Robert Bettinelli3-Dec-12 16:30
memberRobert Bettinelli3-Dec-12 16:30 
QuestionCould not load file or assembly Pin
xut244714-Nov-12 21:11
memberxut244714-Nov-12 21:11 
AnswerRe: Could not load file or assembly Pin
ryanb3116-Nov-12 8:42
memberryanb3116-Nov-12 8:42 
QuestionProblem with foreach loop in MVC 3 Razor View Pin
solomon20114-Nov-12 5:09
membersolomon20114-Nov-12 5:09 
AnswerRe: Problem with foreach loop in MVC 3 Razor View Pin
n.podbielski14-Nov-12 7:34
membern.podbielski14-Nov-12 7:34 
GeneralRe: Problem with foreach loop in MVC 3 Razor View Pin
mayankgupta68828-Nov-12 16:28
membermayankgupta68828-Nov-12 16:28 
GeneralRe: Problem with foreach loop in MVC 3 Razor View Pin
n.podbielski29-Nov-12 7:22
membern.podbielski29-Nov-12 7:22 
AnswerRe: Problem with foreach loop in MVC 3 Razor View Pin
vicent estevan19-Nov-12 3:11
membervicent estevan19-Nov-12 3:11 
QuestionHRM and Payroll Pin
silentspeaker13-Nov-12 20:59
membersilentspeaker13-Nov-12 20:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.161128.1 | Last Updated 3 Dec 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid