Won't Fix
Last Updated: 14 Sep 2016 12:33 by ADMIN
ADMIN
Vessy
Created on: 24 Feb 2014 15:26
Category: Window
Type: Feature Request
1
RadWindow is not sized properly after PostBack when ShowContentDuringLoad="False"
The manually set height of RadWindow is not persisted after PostBack if the control's ShowContentDuringLoad property is set to False. The issue is reproducible in IE9.

Video: http://screencast.com/t/ChvvBVzst

Workaround: Set ShowContentDuringLoad="true" when the current browser is IE:
    <button onclick="OpenRadWindow();return false;" class="Button" style="width: 190px"> Show popup window</button>
    <script type="text/javascript">
        function OpenRadWindow() {
            var oManager = GetRadWindowManager();
            oWind = oManager.getWindowByName("RadWindow1");
            //workaround
            if ($telerik.isIE)
                oWind.add_pageLoad(pageLoaded);
            oWind.show();
        }

        function pageLoaded(oWind) {
            oWind.set_showContentDuringLoad(true);
        }
    </script>
2 comments
ADMIN
Slav
Posted on: 14 Sep 2016 12:33
The issue is not reproducible with Lightweight render mode of RadWindow.
OWMontreal
Posted on: 26 Feb 2014 20:18
The workaround works fine. Just hope Telerik Development team can fix it very soon.

thanks Veselina!