It seems it should be straight foward. I have a model popup from the ControlToolkit on the page. In the modal there is a server control for a submit button which does a post back, but I have the RadAjaxManagerProxy capturing it and updating only one specific panel (which happens to also contain the buttons that open the model).
Seems after the first click the modal works great, but after the ajax post back, the buttons do not initiate the modal popup even anymore.
As anyone seen anything like this? Where the modal only works the first time?
Here's my Proxy
Here's the Model
Here's the Panel for the modal
And here's the panel that gets updated via the proxy
Seems after the first click the modal works great, but after the ajax post back, the buttons do not initiate the modal popup even anymore.
As anyone seen anything like this? Where the modal only works the first time?
Here's my Proxy
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server" > | |
<AjaxSettings> | |
<telerik:AjaxSetting AjaxControlID="btnConfirmYes"> | |
<UpdatedControls> | |
<telerik:AjaxUpdatedControl ControlID="pnlDocumentInfo" LoadingPanelID="AjaxLoadingPanel1" /> | |
</UpdatedControls> | |
</telerik:AjaxSetting> | |
</AjaxSettings> | |
</telerik:RadAjaxManagerProxy> |
Here's the Model
<cc1:ModalPopupExtender | |
ID="mpeDocumentInfoLinkButton" | |
runat="server" | |
PopupControlID="pnlEditDocumentInfo" | |
TargetControlID="lbEditDocInfo" | |
OkControlID="btnConfirmYes" | |
BackgroundCssClass="modalBackground" | |
CancelControlID="btnCancel" /> |
Here's the Panel for the modal
<asp:Panel | |
ID="pnlEditDocumentInfo" | |
runat="server" | |
HorizontalAlign="Left" | |
CssClass="modalPopup" | |
style="display:none;"> | |
<table> | |
<tr> | |
<td> | |
<asp:Label ID="lblDocumentName" runat="server" Text="Version Identifer Name:" Font-Bold="true" /><br /> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<asp:TextBox ID="tbxDocumentName" runat="server" Width="200px" /> | |
<asp:RequiredFieldValidator ID="rfvDocumentName" runat="server" | |
ErrorMessage="Required!" | |
ControlToValidate="tbxDocumentName" /> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<strong>Document Revision Date</strong><br /> | |
MM/DD/YYYY<br /> | |
<telerik:RadDatePicker ID="rdpRevisionDate" runat="server" Skin="Office2007" /><br /> | |
<br /> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<asp:Button ID="btnConfirmYes" runat="server" Text="Save" Width="75px" /> <asp:Button ID="btnCancel" runat="server" Text="Cancel" Width="75px" /> | |
</td> | |
</tr> | |
</table> | |
</asp:Panel> |
And here's the panel that gets updated via the proxy
<asp:Panel ID="pnlDocumentInfo" runat="server"> | |
<table id="tblDocumentInfo" width="100%" border="0"> | |
<tr> | |
<td> | |
Title: <asp:Label ID="lblDocName" runat="server" /> | |
</td> | |
<td align="right"> | |
<asp:ImageButton runat="server" ID="ibDocInfo" AlternateText="Edit Document Information" ImageUrl="~/images/btn_edit.gif" /><asp:LinkButton ID="lbEditDocInfo" runat="server" Text="Edit" /> | |
</td> | |
</tr> | |
</table></panel> |