[CLOSED] Child page to parent page call

  1. #1

    [CLOSED] Child page to parent page call

    hi,

    i have a Tradermain.aspx page, which has master page. The Tradermain.aspx page has tabpanel(id=tabpanel1), within that tab(id=tab1) i have load page parent.aspx... After that i open a one dynamically created Ext window from parent.aspx page button click event , and i created that Ext window in Tradermain.aspx page using new Ext.Window( ) object, and load one child.aspx page in that window..


    how i can call a js function from child.aspx page to parent.aspx page js function....


    did u understand my requirement?


    i tried below code , but its not worked..

     
    parent.window.ctl00_cphHostBody_tabpanel1_IFrame.parentpageFunctionName();
    Last edited by Daniil; Sep 29, 2010 at 12:13 AM. Reason: [CLOSED]
  2. #2
    Hi,

    parent.Tab1ClientID.getBody().parentpageFunctionName();
    Tab1ClientID is Tab1 ClientID (please replace it by real client id)
  3. #3

    js error

    hi,

    i tried parent.ctl00_cphHostBody_Tab6.getBody().Transactio nBind(); like that, but i got js error..

    plz refer my parent source and child source code...
    Attached Files
  4. #4
    Hi,

    Unfortunately, the information is not enough to understand the problem
    Please the following sample which demonstrates how to communicate between iframes
    https://examples1.ext.net/#/Panel/Ba...Communication/

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. Replies: 1
    Last Post: May 29, 2012, 8:51 AM
  3. Replies: 1
    Last Post: Feb 03, 2012, 2:36 PM
  4. Replies: 1
    Last Post: Nov 12, 2011, 5:41 PM
  5. [CLOSED] How to call a javascript function from a child page?
    By flormariafr in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 25, 2010, 5:40 PM

Posting Permissions