This link has been bookmarked by 46 people . It was first bookmarked on 30 Sep 2008, by Lindsay Donaghe.
-
28 Sep 11
-
03 Mar 11
-
07 Feb 11
-
03 Dec 10
-
15 Sep 10
-
19 Aug 10
clark updikeLimit UpdatePanel's to "small" uses. Consider "Page Methods" for heavy lifting.
-
18 Aug 10
-
14 Jul 10
-
29 Apr 10
-
09 Feb 10
-
24 Jan 10
-
16 Jan 10
-
15 Nov 09
-
27 Oct 09
-
31 Aug 09
-
05 Aug 09
tresingClear example demonstrating the overhead involved in using UpdatePanels and a way around it.
-
14 May 09
-
10 Mar 09
Kiernon ReinigerGood article on the use of EnablePageMethods property of the ScriptManager
-
24 Feb 09
-
20 Feb 09
-
01 Dec 08
-
17 Nov 08
-
14 Nov 08
-
Using JSON, the entire HTTP round trip is 24 bytes, as compared to 872 bytes for the UpdatePanel. That’s roughly a 4,000% improvement, which will only continue to increase with the complexity of the page.
Not only has this reduced our network footprint dramatically, but it eliminates the necessity for the server to instantiate the UpdatePanel’s controls and take them through their life cycles to render the HTML sent back to the browser.
While I’m a proponent of the simplicity inherent in the UpdatePanel, I think that it is crucial that we use them judiciously. In any heavy use situation, they are very rarely the best solution.
-
-
30 Sep 08
Lindsay DonagheGood arguments against over-use of UpdatePanels and some sample script of how to replace their functionality with JSON calls.
codesnippets asp.net ajax troubleshooting web development tutorials
-
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true" /> <script language="javascript"> function UpdateTime() { PageMethods.GetCurrentDate(OnSucceeded, OnFailed); } function OnSucceeded(result, userContext, methodName) { $get('Label1').innerHTML = result; } function OnFailed(error, userContext, methodName) { $get('Label1').innerHTML = "An error occured."; } </script> <asp:Label runat="server" ID="Label1" Text="Update Me!" /><br /> <input type="button" id="Button2" value="Web Method Update" onclick="UpdateTime();" />
-
[WebMethod] public static string GetCurrentDate() { return DateTime.Now.ToLongDateString(); }
-
-
08 Sep 08
-
03 Sep 08
-
21 Aug 08
Tim FranklinA detailed study of the amount of HTTP traffic an UpdatePanel requires, and a viable alternative to it via web methods and JSON.
-
03 Jul 08
-
26 Jun 08
-
24 Apr 08
-
17 Apr 08
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.