[CLOSED] Execute event or method after close window

  1. #1

    [CLOSED] Execute event or method after close window

    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
    Last edited by Daniil; Feb 04, 2014 at 11:37 AM. Reason: [CLOSED]
  2. #2
    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">
        <Listeners>
            <Hide Handler="App.direct.SomePageDirectMethod();" />
        </Listeners>
    </ext:Window>

Similar Threads

  1. [CLOSED] directevent Change event not execute?
    By tobros in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Aug 29, 2013, 2:39 AM
  2. Replies: 1
    Last Post: Jan 12, 2013, 4:50 AM
  3. Replies: 4
    Last Post: Dec 23, 2011, 4:11 PM
  4. How we can get close(X) Event of Ext.net Window
    By NishaLijo in forum 1.x Help
    Replies: 6
    Last Post: Jun 08, 2011, 4:43 AM
  5. Event Close window
    By flaviodamaia in forum 1.x Help
    Replies: 1
    Last Post: May 05, 2009, 9:10 AM

Posting Permissions