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

Modal Window Issue in master page

3 Answers 43 Views
Window
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 03 Mar 2011, 09:26 PM
Hi.

I have an issue with modal radWindow, the thing is that I am using a master page, and it has obviusly an MainContent ContentPlaceHolder, the issue is when I show the window in modal style, the window "locks" the entire page, and I want to know if it's possible to configure the window to lock just the ContentPlaceHolder instead of the entire Page.

Hope you can help me, thanks.

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 09 Mar 2011, 01:47 PM
Hi Daniel,

RadWindow's modal overlay is applied to the whole page and this behavior cannot be modified. What you could do is to create your own overlay element (e.g. DIV with appropriate z-Index - RadWindow's default z-Index is 3000) that you show whenever RadWindow is shown. To control when the custom DIV is shown and hidden, you could use the OnClientShow and OnClientClose event handlers.

Greetings,
Georgi Tunev
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Marc
Top achievements
Rank 1
answered on 09 Sep 2015, 08:13 AM
Is this answer still valid in 2015?
0
Marin Bratanov
Telerik team
answered on 09 Sep 2015, 08:24 AM

Hi Marc,

Yes, this answer is still valid. The modal feature of the RadWindow control is designed to hide the entire page, not just certain areas. To that end, a custom div should be toggled in the the OnClientShow and OnClientClose events.

Regards,

Marin Bratanov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Window
Asked by
Daniel
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Marc
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or