将 jQuery for AJAX 与 ASP.NET Webforms 一起使用
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/202538/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Using jQuery for AJAX with ASP.NET Webforms
提问by Mark Struzinski
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.
任何人都知道有关开始使用 jQuery 进行 AJAX 调用而不是 ASP.NET AJAX 的好文章/教程的链接吗?我试图避免在这个应用程序中完全使用 UpdatePanels,这是我过去无法完成的。
回答by Steve Nelson
The most complete article I've ever found about this topic
我找到的关于这个主题的最完整的文章
http://www.codeproject.com/KB/ajax/AjaxAndAspNET.aspx
http://www.codeproject.com/KB/ajax/AjaxAndAspNET.aspx
It avoids update panel, script manager and viewstate.
它避免了更新面板、脚本管理器和视图状态。
回答by azamsharp
Here are few links:
这里有几个链接:
A Look Into JQuery API http://gridviewguy.com/Articles/407_A_Look_Into_JQuery_Ajax_API.aspx
深入了解 JQuery API http://gridviewguy.com/Articles/407_A_Look_Into_JQuery_Ajax_API.aspx
Using FireBug Profiler to Dig Deep into MS AJAX and JQuery API http://azamsharp.com/Posts/83_Using_FireBug_Profiler_to_Dig_Deep_into_MS_AJAX_and_JQuery_API.aspx
使用 FireBug Profiler 深入挖掘 MS AJAX 和 JQuery API http://azamsharp.com/Posts/83_Using_FireBug_Profiler_to_Dig_Deep_into_MS_AJAX_and_JQuery_API.aspx
On Demand Loading Using JQuery Ajax API http://azamsharp.com/Posts/74_On_Demand_Loading_Using_JQuery_Ajax_API.aspx
使用 JQuery Ajax API 按需加载 http://azamsharp.com/Posts/74_On_Demand_Loading_Using_JQuery_Ajax_API.aspx
回答by Eric Falsken
Damien Edwards just gave an awesome talk on this topic at the recent MIX11 conference. You can watch the video onlineand 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.
Damien Edwards 在最近的 MIX11 会议上就这个话题发表了精彩的演讲。您可以在线观看视频并下载他的代码。他开发了一个 jquery-UI 扩展器项目,其工作方式与 ASP.NET AJAX 工具包的工作方式相同,但只是使用 jQuery 功能扩展了普通控件/标签/元素。该项目位于CodePlex 上。