Modal window doesn't disable other controls

2 posts, 0 answers
  1. Adam
    Adam avatar
    177 posts
    Member since:
    Oct 2012

    Posted 22 Oct 2007 Link to this post

    For some reason when using the RadWindow for Prometheus, it doesn't lock down the rest of the screen when I set the window to Modal. It will keep me from being able to move the window, but that's about it.
    Here is the javascript we're using to pop the window. The behavior is Close, modal is true.
    if (behavior == 'Close')  
                oWindow = $find("ctl00_WdwClose");  
            else if (behavior == 'ClosePostBack')  
                oWindow = $find("ctl00_WdwClosePostBack");  
            oWindow.setSize(width, height);  
            if (modal)  
                oWindow.moveTo(x, y);  
            if (title != '')  
    The code for the RadWindow looks like this:
    <telerik:RadWindow ReloadOnShow=true ID="WdwClose" Animation=Fade VisibleStatusbar=false Skin="Vista" Behavior="Close" Top="" NavigateUrl="" Left="" runat="server" Behaviors="Close" IntialBehavior="None"></telerik:RadWindow> 
    I just tried converting from using the Standard Q4 2006 to the Q2 2007 Prometheus controls for this.

    By the way, the only way it will show Modal, is if I use the Fade animation. Other setups I've tried either don't size the window correctly, or don't gray out the rest of the screen so a user can't go clicking around. Is there a workaround or did I accidentally set something up wrong in my conversion? Not sure, but I saw a hotfix out there to download, but didn't download it because I figured it was probably in the download I got of the Prometheus controls today as well.
  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 24 Oct 2007 Link to this post

    Hello Adam,

    RadWindow that has already been shown, cannot be set to modal.
    You need to call the set_Modal() method before showing the RadWindow or alternatively to first hide the window, set it to modal and then to show it again.

    If you still experience problems, please open a new support ticket and send us a working project where the problems can be reproduced. We will check them and get back to you with solution.

    Kind regards,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top