RadWindow that is Vertically Larger than Parent also shows Horizontal Scrollbar

2 posts, 0 answers
  1. Dan
    Dan avatar
    131 posts
    Member since:
    Feb 2011

    Posted 04 Nov 2013 Link to this post

    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?  
  2. Ianko
    Ianko avatar
    1738 posts

    Posted 07 Nov 2013 Link to this post

    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.

    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.
Back to Top