This is a migrated thread and some comments may be shown as answers.

How do I remove the vertical scrollbar from the Window?

4 Answers 288 Views
Window
This is a migrated thread and some comments may be shown as answers.
toddhd
Top achievements
Rank 1
toddhd asked on 07 Dec 2010, 10:44 PM
Hopefully this is an easy one...

I am opening a RadWindow using the WindowManager (javascript):

var
 oWindow = window.radopen("EditGroup.aspx");

When the window opens however, I ALWAYS have a vertical scrollbar on the right hand side. I've tried setting the window height to several sizes, both big and small - no matter what, I get a scrollbar.

How do I turn this off?

4 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 08 Dec 2010, 08:20 AM
Hello toddhd,

To be able to help, we need some more information about your case. Could you please paste the code for the parent and the content page?

Best wishes,
Georgi Tunev
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Craig Mellon
Top achievements
Rank 1
answered on 14 Dec 2010, 04:04 PM
Usually allways down to a CSS element within the window with height \ margins settings that exceed the window size, or could be if your using your main site stylesheet on the window page and you have padding set to the body in the css this will effect the body within the RAD Window.
0
Jeremy
Top achievements
Rank 1
answered on 21 Dec 2010, 01:11 AM
I have same problem in ie7 but autosizes fine in ie8
0
Jeremy
Top achievements
Rank 1
answered on 21 Dec 2010, 01:31 AM
Ha! been chasing this problem for 2 days and fixed 10 minutes after I posted :P
Added the following code to the popup page:
<style type="text/css">
    HTML 
    
        overflow: hidden; 
    }
</style>
Adding it to the body tag, which was what I originally did, causes the window to be resized to 1px x 1px. But only in ie7, which is what my clients use, not ie8 - which is what I use. Annoying!
Tags
Window
Asked by
toddhd
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Craig Mellon
Top achievements
Rank 1
Jeremy
Top achievements
Rank 1
Share this question
or