Maximize problem after Q2 to Q3 upgrade

2 posts, 1 answers
  1. Pavel
    Pavel avatar
    2 posts
    Member since:
    Dec 2011

    Posted 20 Dec 2011 Link to this post

    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?
  2. Answer
    Marin Bratanov
    Admin
    Marin Bratanov avatar
    4526 posts

    Posted 20 Dec 2011 Link to this post

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