View Full Version : [CLOSED] Execute event or method after close window

Jan 29, 2014, 10:01 PM
Good evening, I've created a UserControl that include an ext:Window, this usercontrol is dynamically loaded from a page aspx.
how can I execute an event or method in aspx page after close a window or after click button in UserControl?

thank in advance

Jan 30, 2014, 3:36 AM
Hi @multimediait,

Welcome to the Ext.NET forums!

You can listen to a Window's Hide or Close event (depends on a Window's CloseAction which is Hide by default) and call a page's DirectMethod.

<ext:Window runat="server">
<Hide Handler="App.direct.SomePageDirectMethod();" />