Click here to Skip to main content
15,886,578 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Back Page link with Attachment asp.net 4 Pin
Zaf Khan26-Nov-12 9:02
Zaf Khan26-Nov-12 9:02 
GeneralRe: Back Page link with Attachment asp.net 4 Pin
εїзεїзεїз26-Nov-12 20:49
εїзεїзεїз26-Nov-12 20:49 
GeneralRe: Back Page link with Attachment asp.net 4 Pin
Zaf Khan27-Nov-12 7:55
Zaf Khan27-Nov-12 7:55 
Questioncall javascript in button1_click in bihindcode Pin
jojoba201116-Nov-12 22:22
jojoba201116-Nov-12 22:22 
NewsSOVED ! Pin
jojoba201116-Nov-12 23:28
jojoba201116-Nov-12 23:28 
QuestionWhat is this doing Pin
rakeshs31215-Nov-12 22:10
rakeshs31215-Nov-12 22:10 
AnswerRe: What is this doing Pin
ZurdoDev16-Nov-12 7:41
professionalZurdoDev16-Nov-12 7:41 
QuestionBuilding DOM from xml - asp.net controls, or html controls? Pin
lvq68415-Nov-12 21:17
lvq68415-Nov-12 21: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 8:13
professionaljkirkerx16-Nov-12 8:13 
GeneralRe: Building DOM from xml - asp.net controls, or html controls? Pin
lvq68418-Nov-12 22:10
lvq68418-Nov-12 22:10 
QuestionRe: Building DOM from xml - asp.net controls, or html controls? Pin
n.podbielski17-Nov-12 1:47
n.podbielski17-Nov-12 1:47 
QuestionChild config files Pin
indian14315-Nov-12 16:33
indian14315-Nov-12 16:33 
AnswerRe: Child config files Pin
jkirkerx16-Nov-12 8:54
professionaljkirkerx16-Nov-12 8:54 
Questionbind multiple XMLDataSource to one Repeater Pin
Jassim Rahma15-Nov-12 3:19
Jassim Rahma15-Nov-12 3:19 
AnswerRe: bind multiple XMLDataSource to one Repeater Pin
Anurag Gandhi15-Nov-12 21:20
professionalAnurag Gandhi15-Nov-12 21:20 
QuestionAspx control Pin
rakeshs31214-Nov-12 21:07
rakeshs31214-Nov-12 21:07 
AnswerRe: Aspx control Pin
Robert Bettinelli3-Dec-12 15:30
Robert Bettinelli3-Dec-12 15:30 
QuestionCould not load file or assembly Pin
xut244714-Nov-12 20:11
xut244714-Nov-12 20:11 
AnswerRe: Could not load file or assembly Pin
ZurdoDev16-Nov-12 7:42
professionalZurdoDev16-Nov-12 7:42 
QuestionProblem with foreach loop in MVC 3 Razor View Pin
solomon20114-Nov-12 4:09
solomon20114-Nov-12 4:09 
AnswerRe: Problem with foreach loop in MVC 3 Razor View Pin
n.podbielski14-Nov-12 6:34
n.podbielski14-Nov-12 6:34 
GeneralRe: Problem with foreach loop in MVC 3 Razor View Pin
Mayank_Gupta_28-Nov-12 15:28
professionalMayank_Gupta_28-Nov-12 15:28 
GeneralRe: Problem with foreach loop in MVC 3 Razor View Pin
n.podbielski29-Nov-12 6:22
n.podbielski29-Nov-12 6:22 
AnswerRe: Problem with foreach loop in MVC 3 Razor View Pin
vicent estevan19-Nov-12 2:11
vicent estevan19-Nov-12 2:11 
QuestionHRM and Payroll Pin
silentspeaker13-Nov-12 19:59
silentspeaker13-Nov-12 19: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.