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
I try to create a using RadTreeView control from Telerik.Web.UI ,Version=2008.2.1001.20
I am not able to remove or reduce whitespaces between nodes belonged to the same level.
How can I do this ?
Regards,
Vadim
| <asp:UpdatePanel ID="myPanel" runat="server" UpdateMode="Always"> |
| <ContentTemplate> |
| <%= DateTime.Now.ToString("G") %> |
| </ContentTemplate> |
| </asp:UpdatePanel> |
| .toolbar_container {height:28px; background:url("../_images/SiteGraphics/abicms_toolbar_slice_01.png"); background-repeat:repeat-x; } |