We use your RadWindow controls quite a bit in our application. They are invoked using the following JavaScript convention…
var oWnd = radopen("EditWBSEast.aspx", "WBSRadWindow");
oWnd.setSize(830,300);
oWnd.Center();
We define WBSRadWindow as follows:
<telerik:RadWindowManager
ID="RadWindowManager1"
runat="server"
Behavior="None"
InitialBehavior="None" Left=""
Skin="Outlook"
style="display: inline;"
Top=""
DestroyOnClose="True">
<Windows>
<telerik:RadWindow
ID="WBSRadWindow"
Modal="true"
runat="server"
Behavior="None"
DestroyOnClose="True"
InitialBehavior="None"
Title="”
ReloadOnShow="true"
Left=""
NavigateUrl=""
style="display: inline"
Top=""
Behaviors="None"
OnClientShow="OnClientShow">
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
This code provides us with a rather generic window with very little functionality but vastly better looking than the corresponding Window(Open) or Javascript alert. Our one problem is that we would also like to suppress the horizontal and vertical scrollbars.
We have seen elsewhere in your documentation that a JavaScript method similar to the one below should accomplish this…
function OnClientShow(radWindow)
{
var delScrollbar = radWindow._name;
document.getElementsByName(delScrollbar)[0].setAttribute("scrolling", "no");
var oTop = document.documentElement.scrollTop;
document.documentElement.scroll = "no";
document.documentElement.style.overflow = "hidden";
document.documentElement.scrollTop = oTop;
if(document.documentElement && document.documentElement.scrollTop)
{
var oTop = document.documentElement.scrollTop;
document.documentElement.scroll = "no";
document.documentElement.style.overflow = "hidden";
document.documentElement.scrollTop = oTop;
}
else if(document.body)
{
var oTop = document.body.scrollTop;
document.body.scroll = "no";
document.body.style.overflow = "hidden";
document.body.scrollTop = oTop;
}
}
This method does not suppress the scrollbars for us. Could you advise us as to how to best accomplish this?
Thanks
12 Answers, 1 is accepted

This is a shot in the dark (I'm not in a position to try it) but couldn't you say ...
NavigateUrl="" |
style="display: inline; overflow:hidden;" |
Top="" |
Just a thought.
--
Stuart

}

--
Stuart


--
Stuart


--
Stuart

Thanks very much gentlemen.

If the scrollbars are shown on the content page (e.g. the one that you load in RadWindow), this issue is not related to the RadWindow control - it is basically an IFRAME and does not (and cannot) control the scrollbars in the content page.
If the scrollbars are displayed on the parent page however, we need to have more details about your exact setup. Please open a support ticket and send us a sample project so we could check it.
Regards,
Georgi Tunev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

<style>
html
{
/*added to prevent scroll bars in radwindow*/
overflow : hidden;
}
</style>
was the only solution I could find.
