我的表格设计成
<asp:Panel runat="server" Id="xyz">
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
'Gridview with edit/delete - opens detailsview(edit template) with data
for editing
</ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
<ContentTemplate>
'Hyperlink to open detailsview(insert template) for inserting records
</ContentTemplate>
</asp:UpdatePanel>
</asp:Panel>
<asp:Panel runat="server" Id="xyz1">
'Ajax modal popup extender control
</asp:Panel>
当我点击更新,交替插入,
但是,当我单击“插入超链接”(位于GridView外部)并关闭/取消弹出窗口而不插入任何内容,然后再次单击“插入”时,它不会调用“插入”onclick事件。如果我单击其他按钮并单击此按钮,它就会工作。是什么导致了这个问题?我该如何解决?