Open a Radwindow on Topmost Page ?

2 posts, 0 answers
  1. gzzn
    gzzn avatar
    12 posts
    Member since:
    Jan 2011

    Posted 15 May 2012 Link to this post

    i have 4 pages.

    <iframe src="iframe.aspx">

    <input type="button" onclick="window.radopen('window.aspx', 'win');">

    <input type="button" onclick="window.radopen('test.aspx', 'top');">


    when i work in windows.aspx,
    how to open a radwindow 'test.aspx' on topmost page 'index.aspx' ?
  2. Marin Bratanov
    Marin Bratanov avatar
    5701 posts

    Posted 16 May 2012 Link to this post


    You only need to get a reference to the desired window object, in this case this is easiest done by calling as the top property is a reference to the topmost frame in the frame tree. Note that this requires that you have a RadWindowManager in the main page as well.

    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