Good afternoon!
I have a page that opens many pop-ups with different sizes from a RadWindow, but when I close the first one, the next opened pop-up gets the same size of the last one until it's completely loaded, you can see the code below:
Origin page code:
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Office2007"
ShowContentDuringLoad="false" VisibleStatusbar="false" ReloadOnShow="true" Behavior="None"
Modal="True" Style="z-index: 90000;">
<windows>
<telerik:RadWindow runat="server" ID="RadWindow1" Width="10" Height="10" Modal="true"
OnClientClose="OnClientClose" Behavior="Move" />
</windows>
</telerik:RadWindowManager>
function openWin(tela) {
var menu = $find('RadMenu1');
menu.close;
$find('Timer1')._stopTimer();
var oManager = GetRadWindowManager();
oManager.open(tela, "RadWindow1");
}
Code to open up the RadWindow:
function GetRadWindow() {
var oWindow = null;
if (window.radWindow) oWindow = window.radWindow;
else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
return oWindow;
}
function Entrar() {
GetRadWindow().setSize(200, 200);
}
Thanks in advance!