更换的UpdatePanel与jQuery [英] Replace UpdatePanel with JQuery
本文介绍了更换的UpdatePanel与jQuery的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用的UpdatePanel异步调用的页面调用另一个类,它写出一个XML文件,在输出的方法的按钮单击事件。有没有一种方法来使用jQuery,而不是的UpdatePanel做到这一点?
I'm using UpdatePanel to asynchronously call a button click event in a page that calls a method in another class which writes out an XML file on the output. Is there a way to do this with JQuery instead of UpdatePanel?
推荐答案
使用jQuery来处理click事件。然后调用在$ C $页面方法C-背后使用的这个技术。从那里,你可以写XML文件或做任何你想要的。
Use jQuery to handle the click event. Then call a page method in the code-behind using this technique. From there you can write the XML file or do whatever else you want.
这篇关于更换的UpdatePanel与jQuery的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文