Access parent window controls in child window

2 posts, 0 answers
  1. Abhilash
    Abhilash avatar
    12 posts
    Member since:
    Jul 2012

    Posted 20 Jan 2013 Link to this post

    Hello All,
    I have some controls in rad parent window. I want to access these controls from child window. How can i accomplish this task.
    Is there any possible way to send data to child window (like query string concept) when it open.

    thank you
  2. Marin Bratanov
    Marin Bratanov avatar
    3899 posts

    Posted 22 Jan 2013 Link to this post

    Hi Abhi,

    If you are using the ContentTemplate of the RadWindow then all controls are on the same page and you can access them directly. This is shown in the following demo: Both JavaScript and code-behind can be used, see the demo description for more details.

    In case you are using a content page the only way to access controls in one frame from the other is by calling a function that is declared in the target frame and will do the required work:

    You can also pass data upon opening of the RadWindow as explained here:

    All the best,
    Marin Bratanov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top