Sunday, March 11, 2012

20 controls for web form (Textbox + dropdown) make page slow with UpdatePanel

Use more than Update Panel, dont put all the controls in the same Update Panel.

hello guys,

there has been several posts here about performance. the official version is that you must make sure that you're not running in debug mode. using several updatepanels might help you too if their mode is set to conditional...


Hi,

Thanks for the update.

I have
1- Debug is false
2- One update panel for all controls

You mean if I use more than 2 update panel with conditional set than might increase performance. I will try that.

There is one thing I want to ask

I am using for with 20 controls (Textbox + dropdowns) and if I dont use updatepanel and use webservice call on submit button and just save the data than dont you think the performance will increase?

I think use of update panel for big forms degrade performace. Its better to put grid in updatepanel rather than use updatepanel for above mentioned form. What you say?

Thanks


Of course It's better to put The grid in UpdatePanel rather than use UpdatePanel for the whole from.

hello.

regarding the webservice question, i think that it's safe to say YES. in this case, you have total control over what's send back to the web service. this doesn't happen when you use an updatepanel. to see what i mean, use fiddler and see the info that is being sent back to the server...


Hi,

Thanks for reply. What is fiddler?


hello.

well, fiddler is "http debugging proxy". well, basically, it let's you see what your browser is sending and receiving from the server. it's essential to understand what's going when you're using ATLAS:

http://www.fiddlertool.com/fiddler/

No comments:

Post a Comment