Modal Window Issue in master page

4 posts, 0 answers
  1. Daniel
    Daniel avatar
    1 posts
    Member since:
    Mar 2011

    Posted 03 Mar 2011 Link to this post

    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.
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 09 Mar 2011 Link to this post

    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!
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Marc
    Marc avatar
    1 posts
    Member since:
    Jul 2013

    Posted 09 Sep 2015 Link to this post

    Is this answer still valid in 2015?
  5. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 09 Sep 2015 Link to this post

    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
Back to Top