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

RadWindow that is Vertically Larger than Parent also shows Horizontal Scrollbar

1 Answer 27 Views
Window
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 04 Nov 2013, 04:23 PM
Here is the scenario:

- I am calling a new ASPX page inside a RadWindow which is vertically larger than the parent browser window.
- The RadWindow is set to AutoSize
- The Vertical scroll bar is turned on within the RadWindow's adjusted width - which then triggers a Horizontal scroll bar to cover the new width of the Vertical scroll bar.  

I want the Vertical Scrollbar to appear when needed, but not the Horizontal one - unless in some rare instance the actual width of the Radwindow was truly more than the Parent Browser Window.

Am I missing something?  

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 07 Nov 2013, 12:27 PM
Hi Dan,

I can only assume why the scrollbars appears when the AutoSize property I set to true.

Possible reasons for their appearance could be:
  • Some custom Client-side scripts affecting the stylization of the window's content;
  • Css stylization.

Possible approaches for resolving:

  • Set some padding-right to the content, so that the vertical scrollbar would fit into content and the horizontal one would not appear;
  • A JavaScript implementation to do the same stylization modification, but with more complex logic.

If you want me to assist you further on this, it would be helpful if you could provide a simple project, in which the problem is isolated, so that I could be able to investigate it on my end.

 
Regards,
Ianko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Window
Asked by
Dan
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or