[CLOSED] Window with frame, closed event

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Window with frame, closed event

    Hi, I would like to redirect to another page once server-side function are executed, but...

    My scenario is the following:

    1. Page with a Window and a Button
    2. Button's Click opens the Window and loads inside the window another page, as a frame
    3. The page inside the window has a save button, with a listener click handler able to call the window hide method
      parent.Ext.getCmp('myWindow').hide();
    4. The handler runs before my server-side click; once the windows is hidden the save button click does its job


    I would like to redirect the response to another page, but if I add to the save button's click listener
    parent.document.location.href = "newpage.aspx";
    it runs before to save, redirects and does not save.

    What do you suggest me to do in order to save and then redirect?

    I have also a custom "DataUpdated" event but it runs inside the frame; could I maybe run something using the ResourceManger?

    thanks a lot!
    Last edited by fabricio.murta; Jan 03, 2018 at 2:59 PM.

Similar Threads

  1. Window not rendering frame for content
    By jbarbeau in forum 2.x Help
    Replies: 2
    Last Post: Sep 02, 2014, 5:21 PM
  2. reload desktop window frame
    By krishna in forum 1.x Help
    Replies: 0
    Last Post: Mar 01, 2012, 11:51 AM
  3. [CLOSED] How to change window frame color
    By SFritsche in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 24, 2010, 6:59 PM
  4. Anchor modal window to parent frame
    By stone216 in forum 1.x Help
    Replies: 3
    Last Post: Jan 27, 2010, 2:40 PM
  5. [CLOSED] Pass value of row to window with frame
    By CSG in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 26, 2009, 12:29 PM

Posting Permissions