异步回发 [英] Asynchronous postback
本文介绍了异步回发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我制作了一个实现IPostBackEventHandler
的控件.它在回发方面效果很好,但是当我将其放在更新面板中时,会导致完整的页面回发.我该怎么做才能使其部分显示?
I have made a control that implements IPostBackEventHandler
. It does well in post back but when I put it in an update panel it causes a complete page postback. What can I do to make it partial?
推荐答案
您需要使用RegisterAsyncPostBackControl
也许这会有所帮助
http://aspcode.net/How-Ajax-for-ASPNET-updatepanels-work.aspx [^ ]
http://www.asp.net/ajax/tutorials/understanding-asp- net-ajax-updatepanel-triggers [ ^ ]
You need to use RegisterAsyncPostBackControl
Maybe this will help
http://aspcode.net/How-Ajax-for-ASPNET-updatepanels-work.aspx[^]
http://www.asp.net/ajax/tutorials/understanding-asp-net-ajax-updatepanel-triggers[^]
这篇关于异步回发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文