Master pages

2 posts, 0 answers
  1. Samantha
    Samantha avatar
    9 posts
    Member since:
    Apr 2011

    Posted 05 Aug 2011 Link to this post

    Hello all -

    I have the following scenario:

    A main page using MasterPage.master.
    In the main page a tab strip using multipageview.  The multipageview content is using subMaster.master.

    I would like to call a RadWindow from the control in the multipageview that covers the entire browser window.  I can call one in the control page no problem, but it is only modal to the page calling it, not the main page.

    Any clues to get me going in the right direction would be much appreciated.

    Thanks.
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4630 posts

    Posted 08 Aug 2011 Link to this post

    Hello Samantha,

    Your issue stems from the fact that your content is actually loaded inside an iframe, which means that we cannot take the modal overlay outside of that iframe, as it creates a separate window object and you cannot take anything out of it.

    What I can suggest is that you place your RadWIndowManager in the root of the page (i.e. in the main form) and open your RadWindows from there, which can be done easily via JavaScript:
    window.top.radopen(null, null);
    The general approach is shown in the following help article: http://www.telerik.com/help/aspnet-ajax/window-programming-opening-from-within-dialog.html or http://www.telerik.com/help/aspnet-ajax/radwindow-application-is-page-in-radwindow.html. On the different way s to open a RadWindow please examine this one: http://www.telerik.com/help/aspnet-ajax/window-programming-opening.html.

    Regards,
    Marin
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top