Hi Telerik,
I have a problem when open a modal popup in child window. There're two cases:
- Open popup in child window: that's OK
- Open popup on parent window: can't set height of window
Here's my code:
Hope you can help me, thanks.
I have a problem when open a modal popup in child window. There're two cases:
- Open popup in child window: that's OK
- Open popup on parent window: can't set height of window
Here's my code:
var oWnd = null;var modalparent = true;if (!modalparent) { // open modal popup inside oWnd = radopen(url);}else { // open modal popup on parent window oWnd = window.parent.radopen(url);} // set height, widthoWnd.SetHeight(iHeight); // it doesn't work whenopen modal popup on parent window
oWnd.SetWidth(iWidth);