I am creating a RadWindow from codebehind like so:
private void showPopup(string url, string skin, int width, int height, bool isModal, bool isDraggable, bool hasCloseIcon)
{
RadWindow radwPopup = new RadWindow();
radwPopup.EnableEmbeddedSkins =
false;
radwPopup.VisibleStatusbar =
false;
radwPopup.ReloadOnShow =
true;
radwPopup.KeepInScreenBounds =
true;
radwPopup.NavigateUrl = url;
radwPopup.Skin = skin;
radwPopup.Width = width;
radwPopup.Height = height;
radwPopup.Modal = isModal;
if (hasCloseIcon)
radwPopup.Behaviors =
WindowBehaviors.Close;
radwPopup.VisibleOnPageLoad =
true;
popupUpdatePanel.ContentTemplateContainer.Controls.Add(radwPopup);
radwPopup.Visible =
true;
}
The problem is that the height can differ but the IFrame used by the RadWindow isn't
resizing with the specified Height. Is there a better way to achieve this or would i have
to somehow override the height of the IFrame with embedded CSS or use javascript?
I'm using a slightly altered version of the Web2.0 skin.
Kind regards,
Mark Dekker