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

RestrictionZoneID + Maximized = Missing TitleBar

1 Answer 64 Views
Window
This is a migrated thread and some comments may be shown as answers.
Doug Beard
Top achievements
Rank 1
Doug Beard asked on 06 Nov 2009, 08:20 PM
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.




1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 09 Nov 2009, 11:26 AM
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.
Tags
Window
Asked by
Doug Beard
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or