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

2nd Launch of Window is model?

2 Answers 39 Views
Window
This is a migrated thread and some comments may be shown as answers.
Phil
Top achievements
Rank 2
Phil asked on 03 Mar 2011, 05:01 PM
Hi:

I am launching a Window maximized, so I just added maximize() to the javascript as follows:

<!-- windows -->
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableViewState="true">
    <Windows>
        <telerik:RadWindow ID="RadWindow1" runat="server"
            Height="600" Width="900" Title="Order Maintenance"
            KeepInScreenBounds="True" VisibleTitlebar="true" Modal="true"
            DestroyOnClose="False" ReloadOnShow="true"
            Behaviors="Close, Maximize, Move, Resize" InitialBehaviors="Maximize" />
    </Windows>
</telerik:RadWindowManager>
<!-- javascript -->
<telerik:RadScriptBlock ID="RadScriptBlock2" runat="server">
    <script type="text/javascript">
        //<![CDATA[
        function orderMaintenanceOpenWindow(ordNbr) {
            var winurl = "OrdersMaintenance.aspx?ordernbr=" + ordNbr;
            var oWnd = radopen(winurl, "orderMaintenanceWindow");
            oWnd.maximize();
            return false;
        }
        //]]>
    </script>
</telerik:RadScriptBlock>

Now, the second launch of the window is maximized, but the complete window is modal.  Can not close it, etc...
What am I missing?
Phil
P.S. Sorry the WindowManager is named ordersSelectionRadWindowManager and the window is named orderMaintenanceWindow.

2 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 09 Mar 2011, 10:34 AM
Hi Phil,

I tried to reproduce the problem but to no avail. Try setting ShowOnTopWhenMaximized to false for the RadWindowManager and if this doesn't help, please open a support ticket and send us a reproduction sample so we can check it.

All the best,
Georgi Tunev
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Phil
Top achievements
Rank 2
answered on 30 Apr 2011, 06:59 PM
Hi Georgi:

I had no problem recreating it, but I also solved it by removing the InitialBehaviors="Maximize" property on the window.

Phil
Tags
Window
Asked by
Phil
Top achievements
Rank 2
Answers by
Georgi Tunev
Telerik team
Phil
Top achievements
Rank 2
Share this question
or