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

max node count

2 Answers 64 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
steve
Top achievements
Rank 1
steve asked on 06 Apr 2010, 08:30 PM
What is the best way to get the max levels of a treeview instead of looping throw the nodes.  Is there a property in the control that gets the max levels or should I just create a recursive function to loop through each node for children?

thanks Stephen

2 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 09 Apr 2010, 03:07 PM
Hello steve,

Thank you for the question. RadTreeView does not have a property that returns the current depth. You will have to write a method to determine it.

Write again if you have other questions.
 

Sincerely yours,
Victor
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
steve
Top achievements
Rank 1
answered on 09 Apr 2010, 03:55 PM
Yeah, figured I would have to.  Thank you, Victor.
Tags
Treeview
Asked by
steve
Top achievements
Rank 1
Answers by
Victor
Telerik team
steve
Top achievements
Rank 1
Share this question
or