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.
The code for the RadWindow looks like this:
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.
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.show(); |
oWindow.setUrl(URL); |
oWindow.setSize(width, height); |
if (modal) |
oWindow.set_Modal(modal); |
else |
oWindow.moveTo(x, y); |
if (title != '') |
oWindow.set_Title(title); |
<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> |
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.