We use iframe to show another page in RadWindow.
We create windows dynamically in code.
function openNewWindow(itemUrl, itemText) {
if (itemUrl) {
var wHeigh = 400;
var wWidth = 550;
var windowURL = itemUrl;
var oWnd = radopen(itemUrl, null);
var iconUrl = oWnd.get_iconUrl();
// set the new ICon
oWnd._titleIconElement.style.background = "transparent url('" + iconUrl + "') no-repeat scroll 0px 0px";
if (itemText != "") {
oWnd.set_title(itemText);
}
oWnd.moveTo(20, 20);
oWnd.add_resize(OnClientResize);
var restZoneDiv = document.getElementById("RestrictionZone");
oWnd.set_width(wWidth);
oWnd.set_height(wHeigh);
}
}
When resizing RadWindow for the first time height never changes. There is no problem with width but height does not change.
On second attempt all work fine. Good height is retrieved in code and RadWindow is resized correctly.
Do you know where could be a problem?
Thanks for answers
Rado