I am trying to address the same issue as post ' Refresh Parent after popup dialog closes"
at
http://www.essentialobjects.com/forum/postst5443_Refresh-Parent-after-popup-dialog-closes.aspx<eo:callbackpanel id="CallbackPanel1" Triggers="{ControlID:lbLabelApplySelection_Show;Parameter:},{ControlID:dlgLabelApplySelection;Parameter:}"
runat="server">
<asp:button id="lbLabelApplySelection_Show" runat="server" CssClass="Button" CausesValidation="False"></asp:button></DIV>
<eo:dialog id="dlgLabelApplySelection" runat="server" BackColor="White" RestoreButtonUrl="00070103" ResizeImageUrl="00020014">
<ContentTemplate>
<bv:LabelApply id="ucLabelApply" runat="server" />
<asp:Button id="btnLabelApplySelectionOk" CssClass="Button" runat="server" Width="60px" Text="Save"
CausesValidation="False"></asp:Button>
<asp:Button id="btnLabelApplySelectionCancel" CssClass="Button" runat="server" Width="60px"
Text="Cancel" Visible="true" CausesValidation="False"></asp:Button>
</ContentTemplate>
</eo:dialog>
</eo:callbackpanel>
I assign the handlers here:
Dim d As EO.Web.Dialog = CType(ucLabelApply.FindControl("dlgLabelApplySelection"), EO.Web.Dialog)
d.ClientSideOnEnd = "OnCloses"
d.ClientSideOnAccept = "OnApplyCloses"
function OnApplyCloses() {
alert('function OnApplyCloses()');
}
function OnCloses(d,e) {
alert('function OnCloses()');
}
The event ClientSideOnAccept is not fired, but ClientSideOnEnd is fired.
Is there something wring with this assignment or the function[OnApplyCloses()] as defined?
Thank you in advance