61

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.

Mark Struzinski
  • 32,945
  • 35
  • 107
  • 137
  • 1
    Is 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 Oct 14 '08 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 May 19 '14 at 13:38

3 Answers3

6

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.

Laurel
  • 5,965
  • 14
  • 31
  • 57
Steve Nelson
  • 61
  • 1
  • 1
0

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).

Madis Otenurm
  • 61
  • 1
  • 7
Eric Falsken
  • 4,796
  • 3
  • 28
  • 46