[CLOSED] Change parent (iFrame parent) title

  1. #1

    [CLOSED] Change parent (iFrame parent) title


    I am loading aspx pages in dynamically created (tab) panel's content as below:

                        NewPanel.Loader = new ComponentLoader
                            Url = MenuRequest.TargetPage,
                            Mode = LoadMode.Frame,
                            LoadMask =
                                ShowMask = true,
                                Msg = MenuRequest.LoadMaskMsg
    I want to change title of NewPanel after an event handler of the iFrame page (client side). I can access the parent panel like parent.App["NewPanelID"] but this ID is variable, not fixed. Is there a way to get parent panel handle of an aspx loaded as iFrame in the parent panel? Like this.up("...") ?

    Last edited by Daniil; Jun 18, 2013 at 2:03 PM. Reason: [CLOSED]
  2. #2
    Hi @bayoglu,

    To access a parent Ext.NET container (i.e. NewPanel in your case) from an iframe page please use:
    window.parentAutoLoadControl.setTitle("new title");
  3. #3
    Thanks @Daniil. Issue solved, please mark as closed.

Similar Threads

  1. [CLOSED] Accessing Parent from Iframe
    By stoque in forum 1.x Legacy Premium Help
    Replies: 18
    Last Post: Jun 03, 2011, 9:10 PM
  2. Add Tab to Parent from within IFrame
    By peter.campbell in forum 1.x Help
    Replies: 1
    Last Post: Feb 04, 2011, 12:01 PM
  3. [1.0] IFrame communication with parent page
    By olakara in forum 1.x Help
    Replies: 1
    Last Post: Apr 20, 2010, 9:00 AM
  4. [CLOSED] [1.0] IFrame, parent window question.
    By ljankowski in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 15, 2010, 12:26 PM
  5. Replies: 0
    Last Post: Jun 24, 2009, 4:53 PM

Posting Permissions