RestrictionZoneID + Maximized = Missing TitleBar

2 posts, 0 answers
  1. Doug Beard
    Doug Beard avatar
    55 posts
    Member since:
    Sep 2009

    Posted 06 Nov 2009 Link to this post

    The Title says it all.
    I have an existing window:
    <telerik:RadWindowManager ID="_windowBranch" runat="server" Behaviors="Close" VisibleTitlebar="true" > 
                <Windows> 
                    <telerik:RadWindow ID="_branchWindow" VisibleStatusbar="false" VisibleTitlebar="true" runat="server" 
                      RestrictionZoneID="zone" ShowContentDuringLoad="false" Behaviors="Close"  /> 
                </Windows> 
            </telerik:RadWindowManager> 

    Which I'm opening clientside:
    var oManager = GetRadWindowManager(); 
                CloseOpenWindowFromParent(); 
                var window = oManager.open(Path, "_branchWindow"); 
                window.set_behaviors(Telerik.Web.UI.WindowBehaviors.Close); 
                window.set_visibleTitlebar(true); 
                window.Maximize(); 


    The Titlebar is always missing if I open it Maximized.  If don't open it maximized the Titlebar is not missing.




  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 09 Nov 2009 Link to this post

    Hello Doug,

    I tried to reproduce the problem with the following setup, but everything is working as expected (see attached screenshot)
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div id="zone" style="width: 500px; height: 600px; border: 1px solid red;">
         </div>
    <telerik:RadWindowManager ID="_windowBranch" runat="server" Behaviors="Close" VisibleTitlebar="true">
        <Windows>
            <telerik:RadWindow ID="_branchWindow" VisibleStatusbar="false" VisibleTitlebar="true"
                runat="server" RestrictionZoneID="zone" ShowContentDuringLoad="false" Behaviors="Close" />
        </Windows>
    </telerik:RadWindowManager>
    <button onclick="showWin(); return false;">
        test</button>
     
    <script type="text/javascript">
        function showWin()
        {
            var oManager = GetRadWindowManager();
            //CloseOpenWindowFromParent();
            var window = oManager.open('http://www.google.com', "_branchWindow");
            window.set_behaviors(Telerik.Web.UI.WindowBehaviors.Close);
            window.set_visibleTitlebar(true);
            window.Maximize();
        }
    </script>


    Please open a support ticket and send us a sample project where this issue could be reproduced so we could check it.


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