Unable to set KeepInScreenBounds property in Radwindow

2 posts, 0 answers
  1. Udhayakumar Chinnayan
    Udhayakumar Chinnayan avatar
    1 posts
    Member since:
    Dec 2009

    Posted 08 Dec 2009 Link to this post


    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"  
                <telerik:RadWindow ID="RadWindow1" runat="server" KeepInScreenBounds="false" Behaviors="Default" InitialBehaviors="None" 
                    Left="" NavigateUrl=""  Style="display: none;" Top=""

    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"
    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"));
  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 09 Dec 2009 Link to this post

    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.

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