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

Unable to set KeepInScreenBounds property in Radwindow

1 Answer 157 Views
Window
This is a migrated thread and some comments may be shown as answers.
Udhayakumar Chinnayan
Top achievements
Rank 1
Udhayakumar Chinnayan asked on 08 Dec 2009, 07:13 PM
Hi,

I am trying to open the rad window and enable the users to drag anywhere and even outside the browser area. I want the window to behave similar to popup window of Window. I set the KeepInScreenBounds propert to to false for RadWindowManager as well as RadWindow. But I could not move the rad window out of the browser area. When I checked the view source this property is still set to true. Can any one help me to achieve my target? I use RadControls for ASP.NET AJAX Q2 2009 version.

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" KeepInScreenBounds="false" Skin="Vista" Behaviors="Close,Maximize,Minimize" 
        Width="500px" Height="420px" VisibleStatusbar="false"  
        VisibleOnPageLoad="false"
        <Windows> 
            <telerik:RadWindow ID="RadWindow1" runat="server" KeepInScreenBounds="false" Behaviors="Default" InitialBehaviors="None" 
                Left="" NavigateUrl=""  Style="display: none;" Top=""
            </telerik:RadWindow> 
        </Windows> 
    </telerik:RadWindowManager>

Client Script, showing the property is not set to False that is it is set to true as here "keepInScreenBounds":true,"

<script type="text/javascript"
//<![CDATA[
Sys.Application.initialize();
Sys.Application.add_init(function() {
    $create(Telerik.Web.UI.RadWindowManager, {"behaviors":37,"clientStateFieldID":"RadWindowManager1_ClientState","formID":"form1","height":"420px","iconUrl":"","keepInScreenBounds":true,"left":"","minimizeIconUrl":"","name":"RadWindowManager1","skin":"Vista","top":"","visibleStatusbar":false,"width":"500px","windowControls":"['RadWindow1']"}, null, {"child":"RadWindow1"}, $get("RadWindowManager1"));
});
Sys.Application.add_init(function() {
    $create(Telerik.Web.UI.RadAjaxLoadingPanel, {"initialDelayTime":0,"isSticky":false,"minDisplayTime":0,"skin":"","transparency":5,"uniqueID":"LineResetAjaxPnl","zIndex":90000}, null, null, $get("LineResetAjaxPnl"));
});
//]]> 
</script> 

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 09 Dec 2009, 11:51 AM
Hello Udhayakumar,

This is not possible - RadWindow exists only in the context of the page where it is created and cannot leave the browser's boundaries.



Regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Window
Asked by
Udhayakumar Chinnayan
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or