[CLOSED] Call Child from Parent.

  1. #1

    [CLOSED] Call Child from Parent.

    Hi, I want to call a .js function located in a child from parent.

    For example, I have 2 files: desktop.aspx(parent) and productos.aspx(child). To call a .js function located in desktop.aspx(parent) from productos.aspx(child) I do this:
     X.Js.Call("parent.X.desktopscroll");
    where "desktopscroll" is the function in desktop.aspx(parent).

    What im trying to do is just the opposite, call a function located in productos.aspx(child) from desktop.aspx(parent).
    Last edited by fabricio.murta; Feb 06, 2018 at 3:52 PM.
  2. #2
    Hello @PascuV!

    Take a look on this example, it shows exactly this feature: Panel > Basic > IFrame communication.
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Thx! It worked.
  4. #4
    Thanks for the feedback, and glad it helped!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 5
    Last Post: Feb 10, 2014, 3:16 AM
  2. [CLOSED] [#144] GridPanel - Parent/Child
    By adelaney in forum 2.x Premium Help
    Replies: 9
    Last Post: Feb 11, 2013, 8:58 PM
  3. Replies: 1
    Last Post: May 29, 2012, 8:51 AM
  4. Replies: 6
    Last Post: Feb 15, 2012, 4:15 PM
  5. [CLOSED] Child page to parent page call
    By majestic in forum 1.x Premium Help
    Replies: 3
    Last Post: Oct 05, 2010, 5:41 PM

Posting Permissions