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

How to control Vertical Scrollbar on TreeView

1 Answer 104 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Matthew Stanhope
Top achievements
Rank 1
Matthew Stanhope asked on 06 Apr 2009, 06:20 AM
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.

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 09 Apr 2009, 06:43 AM
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.
Tags
TreeView
Asked by
Matthew Stanhope
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or