Anyone know of a link to a good article/tutorial for getting started using jQuery for AJAX calls rather than ASP.NET AJAX? I'm trying to avoid using UpdatePanels entirely in this app, which I haven't been able to accomplish in the past.
-
1Is there a specific reason you do not want to use Update Panels? I am in the same boat and am just wondering your reasoning. Trying to determine ASP.Net AJAX vs jQuery (which I love) or a combination of both...Andy Brudtkuhl– Andy Brudtkuhl2008-10-14 21:04:54 +00:00Commented Oct 14, 2008 at 21:04
-
1@AndyBrudtkuhl The problem with update panels is that post-back the entire view-state, trigger the entire server-page to render, download the entire web-page, and then throw away all the work done by the server - replacing just the contents of the panel. Also, when the panel contents are replaced, the user loses the focus on the control they were in.Ian Boyd– Ian Boyd2014-05-19 13:38:53 +00:00Commented May 19, 2014 at 13:38
Add a comment
|
3 Answers
The most complete article I've ever found about this topic is ASP.NET and jQuery to the Max.
It avoids update panel, script manager and viewstate.
Comments
Damien Edwards just gave an awesome talk on this topic at the recent MIX11 conference. You can watch the video online (archived - click any download links below the player) and download his code. He developed a jquery-UI extenders project that works the same way that ASP.NET AJAX toolkit works, but just extends normal controls/tags/elements with jQuery functionality. The project is on CodePlex (archived).