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

How to make treeview content-base height?

1 Answer 63 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
miksh
Top achievements
Rank 1
Iron
miksh asked on 20 Nov 2008, 03:32 PM
The treeview control requires a height value. If you omit it the control sets the default value. I need a treeview to expand its height based on the content without limit and thus not showing a vertical scroll bar.
How to achieve that?

1 Answer, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 20 Nov 2008, 05:49 PM
Hello miksh,

By default RadTreeView behaves in exactly the same way as you requested. Only if you specify the height property would it render scrollbars. You can check our online examples (expand a few nodes to see how the content of the page moves down).

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TreeView
Asked by
miksh
Top achievements
Rank 1
Iron
Answers by
Atanas Korchev
Telerik team
Share this question
or