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

Maximize problem after Q2 to Q3 upgrade

1 Answer 91 Views
Window
This is a migrated thread and some comments may be shown as answers.
Pavel
Top achievements
Rank 1
Pavel asked on 20 Dec 2011, 01:13 PM
Hello

After upgrade from release 2011 Q2 to Q3, RadWindows seems not to maximize RadWindow in IE 8/IE 9 ( IE8/9 in the compatibility mode are ok).

It seems to be maximized and then shrinks. RadWindow will maximize itself just after browser is resized.

javascript:
function popup(windowname, url) {
        var oManager = GetRadWindowManager();
        var oWnd = oManager.GetWindowByName(windowname);
        oWnd.show();
        oWnd.setUrl(url);
        oWnd.Center();
        oWnd.Maximize();
        HideOverlay();
}

function HideOverlay() {
        var overlay = $('div.TelerikModalOverlay');
        if (overlay != null) {
            overlay.hide();
        }
}


Changes in code like removing functions or changing order had no positive effect.

According to the Release Notes, there was some fix about Maximize - shall I change the code somehow to adjust to such change or this could be a bug?

1 Answer, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 20 Dec 2011, 04:09 PM
Hi Pavel,

We are not aware of such a change and issue. I tried your scenario and things seem to be working fine with me: http://screencast.com/t/tI9wknA035. I am also attaching my test page here as reference. What I can currently suggest is that you remove the center() call and instead of all this logic  you can call radopen() as it will show a RadWindow even it one with the provided name is not declared:
function popup(windowname, url)
{
    var oWnd = radopen(url, windowname);
    oWnd.maximize();
}

Try these and see if it helps. If not - I advise that you open a formal support ticket and send us a simple, runnable project that shows this behavior so we can investigate it further.

All the best,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Window
Asked by
Pavel
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or