0

我有UserControl一个UpdatePanel. 当单击内部的按钮时,我想刷新它UpdatePanel

4

1 回答 1

0

Register the button in updatepanel's <asp:AsyncPostBackTrigger> tag.

http://www.asp.net/web-forms/tutorials/aspnet-ajax/understanding-asp-net-ajax-updatepanel-triggers

Or

Register the button in ScriptManager.RegisterAsyncPostBackControl().

http://msdn.microsoft.com/en-us/library/system.web.ui.scriptmanager.registerasyncpostbackcontrol.aspx

于 2012-07-09T05:07:12.010 回答