UpdatePanel and ModalPopup Extender
Posted
by rs
on Stack Overflow
See other posts from Stack Overflow
or by rs
Published on 2010-03-08T17:14:38Z
Indexed on
2010/03/08
18:21 UTC
Read the original article
Hit count: 398
I have my form designed as
<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>
It works perfectly when i click update, insert alternately, but when i click insert hyperlink (which is outside gridview) and close/cancel popup without any insert and then again click insert it doesn't call insert_onclick event. It works if i click some other button and click this button. What could be causing this issue and how can i solve it?
© Stack Overflow or respective owner