How to control Vertical Scrollbar on TreeView

2 posts, 0 answers
  1. Matthew Stanhope
    Matthew Stanhope avatar
    1 posts
    Member since:
    Jun 2012

    Posted 06 Apr 2009 Link to this post

    Hi,

    I am using TreeView inside a fixed-size Div on one of my aspx pages. Whenever there are nodes that exceed the fixed width, the treeview appears with both horizontal and vertical scrollbars, even when the number of nodes is very small and can easily fit within the fixed height.

    I have tried setting the style to 'overflow-y: hidden' as per some other posts on this forum, but that permanently hides the vertical scrollbar, making it impossible to view nodes at the bottom if the number of nodes is large. Please note that I am loading the nodes at runtime, so there is no way of knowing the height at coding time.

    My question: Is there is a way to control the appearance/behaviour of the vertical scrollbar, independent of the horizontal scrollbar in TreeView? And if so, how can that be done.

    Thanks.

  2. Yana
    Admin
    Yana avatar
    4781 posts

    Posted 09 Apr 2009 Link to this post

    Hello Matthew,

    Could you please tell us which browser you're using and paste the definition of the fixed div and the treeview here? Thanks

    Greetings,
    Yana
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top