异步回发

异步回发

问题描述:

我制作了一个实现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[^]