Last post Apr 28, 2014 03:19 AM by chandradev1
Apr 24, 2014 03:45 AM|chandradev1|LINK
Upto now, i had understand that while using update panel in asp.net web form, it will increase the performance by using
Asynchronous calls and minimum data transfer to server
and it will most suitable while using heavy control in webform like gridview or datalist with edit,delete functionalities.
But today while doing discussion with friends, they were telling there will be no minimum data transerfer from client to server, it will send full html data with viewstate to sever so there is no advantage related with bandwidth, it will only avoid the page
Could you tell me, which one is the correct ?
Apr 24, 2014 05:05 AM|mike4u|LINK
Upadate panel allows you to define an area within your page that should postback to the server independent of the rest of the page.
Thus instead of entire page being requested and refreshed on return,Update panel updates only partial page.
But it has some disadvantage to use, some people are saying that its performance is poor. see the source link
Apr 25, 2014 08:14 AM|chandradev1|LINK
Thanks for posting the reply. I also read this post
But if in interview if somebody will ask then what should we have to tell ?
I did one POC with update panel, where i had kept 3 gridview with huge data and one label control to display time from server. I tested this with and without update panel.
Then it was taking less time to display time on label with update panel.
So we can use updatepanel depending the senario. It will be not suitable for all senarion. What do you think regarding this ?
Apr 27, 2014 11:43 PM|chetan.sarode|LINK
Many people forget that the UpdatePanel is just one way of doing things in ASP.NET AJAX, like XIII said if you look for performance give WebServices a try, the UpdatePanel
is easier to use but it carries disadvantages, take a look at this article by Dave Ward:
Apr 28, 2014 03:19 AM|chandradev1|LINK
Thanks for sending reply.
In the above url, what ever author had explained, I m completely agree with him. On that senarion, using update panel is not good practice. I had also seen in so many
project, People used to keep update panel as default in master page, even though they used to use UpdatePanel in static page. So that will oviously decrease the performance page. But in gridview with insert/update/Delete function, we can use updatepanel.
In this senario it will increase the performance as compare full postback.
what do you think regarding this ?