This is a migrated thread and some comments may be shown as answers.

Master pages

1 Answer 47 Views
Window
This is a migrated thread and some comments may be shown as answers.
Samantha
Top achievements
Rank 1
Samantha asked on 05 Aug 2011, 04:30 PM
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.

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 08 Aug 2011, 11:35 AM
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.

Tags
Window
Asked by
Samantha
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or