When I dynamically add a RadWindow it always shows scrollbars in the parent, even though there are no scrollbars in the parent when the RadWindow doesn't appear.
Here's my code:
I've tried setting an absolute Width and Height, but although that resizes the RadWindow correctly, the scrollbars are still in the parent.
How can I fix this so the RadWindow doesn't make any scrollbars appear in the parent if the parent doesn't already have them?
thanks,
Steve
Here's my code:
RadWindow1 = new RadWindow(); |
RadWindow1.KeepInScreenBounds = true; |
RadWindow1.Skin = "WebBlue"; |
RadWindow1.VisibleOnPageLoad = true; |
RadWindow1.Modal = true; |
RadWindow1.ShowContentDuringLoad = false; |
RadWindow1.VisibleTitlebar = false; |
RadWindow1.VisibleStatusbar = false; |
this.Controls.Add(RadWindow1); |
I've tried setting an absolute Width and Height, but although that resizes the RadWindow correctly, the scrollbars are still in the parent.
How can I fix this so the RadWindow doesn't make any scrollbars appear in the parent if the parent doesn't already have them?
thanks,
Steve