RadWindow POPUP should cover entire page.

4 posts, 0 answers
  1. John
    John avatar
    18 posts
    Member since:
    Jul 2009

    Posted 17 Nov 2009 Link to this post

    I have use master page and content page in my project where 
    I have opened RadWindow popup from content page .
    But the popUp size is limiting to content page only but i want the popUp should open 
    by overLaping master page and content page as well in short it should get overlap on full page.
    How to overcome this problem using telerik radWindow.
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 17 Nov 2009 Link to this post

    Hi John,

    As you can see from the attached screenshot, when a modal RadWindow is shown from a content page (of a MasterPage), the modal layer covers the whole screen.

    If that content page however, is displayed in an IFRAME, the behavior that you describe is expected - RadWindow exists only in the context of the page where it is created. If you want it to cover the whole viewport, you should put the RadWindow in the topmost page.

    All the best,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. John
    John avatar
    18 posts
    Member since:
    Jul 2009

    Posted 17 Nov 2009 Link to this post

    But how to call POPUP which exsist in master page  from content page  ???
    i mean proper code to call .
  4. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 17 Nov 2009 Link to this post

    Hi John,

    If we are talking about the case where the RadWindowManager is on the topmost page and you wish to open it by clicking a button in the content page that is in IFRAME, you could use the "top" object:
    <button onclick="openWin(); return false;">test</button>
    <script type="text/javascript">
    function openWin()
    {
        top.radopen("http://www.google.com", "RadWindow1");
    }
    </script>


    Sincerely yours,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top