单击更新面板外部的按钮事件无法工作.... [英] click event of button which is outside the update panel cant work....
本文介绍了单击更新面板外部的按钮事件无法工作....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel runat="server" ID="TimedPanel" UpdateMode="Conditional">
<ContentTemplate>
<asp:GridView ID="_gvEmployee" runat="server">
// Grid Code
</asp:GridView>
</ContentTemplate>
</asp:UpdatePanel>
<br />
<br />
<asp:Button ID="_btnDownload" runat="server" Text="Pdf" OnClick="_btnDownload_Click" />
when i m clicking on the button its workin properly
but when i m putting this button inside the updatepanel its cant work
推荐答案
绝对不能在更新面板之外做。看到这个帖子。
http:// ajax .net-tutorials.com / controls / updatepanel-control / [ ^ ]
http://jeffreypaarhuis.com/2011/08/08/validation-not-working-in-updatepanel/ [ ^ ]
Definitely you cant do outside of the update panel. See this thread.
http://ajax.net-tutorials.com/controls/updatepanel-control/[^]
http://jeffreypaarhuis.com/2011/08/08/validation-not-working-in-updatepanel/[^]
这篇关于单击更新面板外部的按钮事件无法工作....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文