[CLOSED] How to pass data from parent page popup window to the child page?

  1. #1

    [CLOSED] How to pass data from parent page popup window to the child page?

    Hi,

    Could you please provide a code sample to handle the following scenario:

    A popup window defined in the markup on the parent page is invoked from the child page loaded in the tab defined on the parent page. On hiding the window, I need to collect its controls data and pass it back to the child page.

    Thanks,

    Vadym
    Last edited by Daniil; Feb 07, 2012 at 4:55 PM. Reason: [CLOSED]
  2. #2
    Hi,

    If an Ext.NET container - Panel or Window - contains a frame, then its getBody method returns a window instance of that frame.

    You need to set up a Hide listener for the Window.

    Within that Hide listener you should collect data, something like this:
    var data = collectData();
    Then to access the child page you can use the following code, for example, calling a child page's function.
    ContainerWithChildPageClientId.getBody().someFunctionToGetData(data);

Similar Threads

  1. [CLOSED] Open parent window from child page using DirectEvent?
    By tjshin in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 15, 2012, 2:25 PM
  2. [CLOSED] How to show ext:Window on Parent page in Nested page
    By ViDom in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 09, 2012, 2:33 PM
  3. [CLOSED] Child page to parent page call
    By majestic in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Oct 05, 2010, 5:41 PM
  4. Replies: 5
    Last Post: Aug 04, 2009, 10:49 AM
  5. Replies: 3
    Last Post: Mar 12, 2009, 3:09 PM

Posting Permissions