Sep 28, 2009, 7:14 PM
Closing a parent window from code behind
Hi everone,
I create a window inside my desktop page and load another aspx inside the child window.
I am trying to close a child window from code behind. I close it from a button handler as the following code:
<ext:ToolbarButton runat="server" ID="btnclosepass" Text="Close" Icon="Cross">
<Listeners>
<Click Handler="parent.window.changepasswordwin.close()" />
</Listeners>
<ToolTips>
<ext:ToolTip ID="ToolTip2" runat="server" AutoShow="true" Html="Exit"></ext:ToolTip>
</ToolTips>
</ext:ToolbarButton>
Is it possible to do the same from code behind? (Closing the child window)Thanks,
Kamal