Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 06, 2012 08:26 AM by Rameezwaheed
Dec 05, 2012 09:04 AM|LINK
I use update panels all the time when i wanna to update specific part of my page but recently i face performance problems ( i mean it 's slow in rendering the intended control and sometimes it doesn't work and need multiple click to work !!
so my question is :
How we can increase the rendering performance?
I have used the radio button , dropdownlist and Image button inside Update Panel.
Locally it is working fine while hosting on server it cause the problem.
Dec 06, 2012 02:21 AM|LINK
When you trigger an UpdatePanel on a page the entire page is processed, then only the HTML for the UpdatePanel is refreshed.
The problem you have is "the entire page is processed". (http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous ). So if you
have these other, for example, datagrids, then will be refreshed (they will call the database and process their data) even though their HTML display will not be updated.
The reason ASP.NET does this is because the data from the other elements on the page may affect what you're displaying in the UpdatePanel you ARE trying to refresh.
The only way around this is to NOT use the UpdatePanel in this situation and to use something likeASP.NET AJAX Page Methods
for optimize the performance of ASP.NET AJAX; you can read the following article:
ASP.NET AJAX Performance Improvement
Dec 06, 2012 03:08 AM|LINK
Maybe this article can help you.
Dec 06, 2012 05:07 AM|LINK
Thanks for detailed reply,
I have the below aspx
<asp:UpdatePanel ID="upd1" runat="server">
<asp:RadioButton ID="checkOne" runat="server" GroupName="rdb" OnCheckedChanged="checkOne_CheckedChanged"
<asp:RadioButton ID="checkTwo" runat="server" GroupName="rdb" OnCheckedChanged="checkTwo_CheckedChanged"
<div style="text-align: right">
<asp:ImageButton ID="btnNext" runat="server" ImageUrl="~/img/Next.png" ValidationGroup="a"
<asp:PostBackTrigger ControlID="checkTwo" />
<asp:PostBackTrigger ControlID="checkOne" />
<asp:PostBackTrigger ControlID="btnNext" />
<asp:PostBackTrigger ControlID="ddlSubject" />
But on each selection Page is postback .
Please suggest some time controls are working and some time not.
Dec 06, 2012 08:26 AM|LINK
very much slow async postbacks via an UpdatePanel, When I say "very slow", I mean in the neighborhood of 30 seconds!.
Is there any cause of this issue?
very much annoyed behavor of Update Panel.