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.
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.