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

Maximize from Javascript or InitialBehaviors="Maximize" does NOT work In IE 9

5 Answers 125 Views
Window
This is a migrated thread and some comments may be shown as answers.
loowool
Top achievements
Rank 2
loowool asked on 01 May 2011, 01:12 PM
Dear Telerik,

We're facing a problem in Maximizing a RadWindow on Open from Javascript or with InitialBehaviors="Maximize"
from ASPX.

To reproduce the problem we created a small Default.aspx page like this:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  
<head runat="server">
    <title></title>
    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <script type="text/javascript">
            function showWindow() {
                var proWindow = $find('<%= xW.ClientID %>');
                proWindow.set_navigateUrl('http://www.telerik.com');
                proWindow.set_title('My Window Title');
                window.setTimeout(function () {
                    proWindow.show();
                    proWindow.setActive(true);
                }, 0);
                return false;
            }
        </script>
        <div>
            <telerik:RadWindowManager ID="wM"
                runat="server"
                Overlay="true"
                ReloadOnShow="false"
                VisibleStatusbar="false"
                VisibleOnPageLoad="false"
                ShowContentDuringLoad="false" >
                <Windows>
                    <telerik:RadWindow ID="xW" runat="server" 
                        VisibleTitlebar="true" EnableViewState="false" Behaviors="Move,Close,Maximize" ReloadOnShow="true" Modal="true" InitialBehaviors="Maximize" >
                    </telerik:RadWindow>
                </Windows>
            </telerik:RadWindowManager>
            <asp:LinkButton ID="btnShow" Text="Show Maximized Window" runat="server" OnClientClick="return showWindow();" /> 
        </div>
    </form>
</body>
</html>

When you open this page in IE9 and click on the Show Maximized Window Link, you see a page that is not maximized to the full height. But when you open it in Chrome, you see it Maximized.

We're using the latest published version as of today.

Attached please find the 2 Screen Shots under IE9 and Under Chrome.

Thanks, as Always

Salah A. Malaeb
TeknoBuild

5 Answers, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 02 May 2011, 12:25 PM
Hello Salah,

Thank you for bringing this problem to our attention - your points have been updated. I logged it in our database and you can follow its progress here.
As a temporary workaround I would suggest either to set  ShowContentDuringLoad=true, or as an alternative - to manually call maximize after the content page has been loaded.


All the best,
Georgi Tunev
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
loowool
Top achievements
Rank 2
answered on 02 May 2011, 03:02 PM
Thanks Georgi,
Your suggested workaround to set ShowContentDuringLoad=true works just fine.
Reaards,
Salah
0
Farouk
Top achievements
Rank 1
answered on 12 May 2011, 04:49 PM
hey..

is this bug really fixed?
I'm using the newest release: 2011.1.413.35 and the RadWindow open's still like in the screenshots from "lowool".

And the workaround is no solution. I need the loading-panel for the end-customer.

thx,
basti
0
Jody Harbour
Top achievements
Rank 1
answered on 13 May 2011, 06:11 AM
I just purchased the upgrade to mainly to fix the IE9 and radopen issues. to find that I cannot use the maximize() client size or it will look like the above picture. this issue is not resolved in  2011.1 413.
0
Svetlina Anati
Telerik team
answered on 13 May 2011, 08:40 AM
Hello guys,

 I can confirm that this bug is already fixed on 03 May. This means that the fix will be available in later builds and the one you mention is from April. This being said, please upgrade to the latest internal build or wait until the upcoming SP which is scheduled for next week and once you upgrade to it, the problem should disappear.

Greetings,
Svetlina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Window
Asked by
loowool
Top achievements
Rank 2
Answers by
Georgi Tunev
Telerik team
loowool
Top achievements
Rank 2
Farouk
Top achievements
Rank 1
Jody Harbour
Top achievements
Rank 1
Svetlina Anati
Telerik team
Share this question
or