[CLOSED] retrieve control located within panel iframe

  1. #1

    [CLOSED] retrieve control located within panel iframe

    Hi,

    I am loading an external page within a panel. To achieve this i am using the following code:

    _panel1.LoadContent(new LoadConfig("mypage.aspx", LoadMode.IFrame, false));
    How can i retrieve a control eg label located within my external page? I have tried the following but without any success:

    var controls = Ext.Net.Utilities.ControlUtils.FindControls<Label>(this.Page);
    Any help, as always, will be greatly appreciated

    Thanks

    Lee
  2. #2

    RE: [CLOSED] retrieve control located within panel iframe

    use Dom Inspector in Firebug, by that you'll be able to trace and access what you are looking for...

    I had the same requirements but currently i have no access to that code. but as i said with DOM Inspector all that become piece of cake!
  3. #3

    RE: [CLOSED] retrieve control located within panel iframe

    Hi,

    It is impossible to get control from the autoload iframe on the server side because loading performs on the client side.
    To get control on the client side (Panel1 in the parent page and contains iframe)
    Panel1.getBody().TextField1
    Also see the following sample
    https://examples1.ext.net/#/Panel/Ba...Communication/

Similar Threads

  1. [CLOSED] Where is the example located for cascading dropdown??
    By Fahd in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 10, 2012, 1:03 PM
  2. Replies: 1
    Last Post: Jun 03, 2010, 3:40 PM
  3. Replies: 4
    Last Post: Oct 07, 2009, 4:40 PM
  4. Replies: 2
    Last Post: Jun 09, 2009, 11:47 AM
  5. Get value from tab iframe control?
    By Tbaseflug in forum 1.x Help
    Replies: 0
    Last Post: May 14, 2009, 6:35 PM

Posting Permissions