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

How to Programmatically select items in the RadTreeView?

1 Answer 194 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 1
Jim asked on 10 Jun 2010, 03:22 AM
Hi Anyone know how to select all items in the RadTreeView ? for example we provide the button to check all in the RadTreeView
I am trying to iterate the items and get the container but it seems the method get container from item is always return null.
is this a bug or I miss something here?

I forgot to mention that the tree is inside the DropDownButton so if the dropdownbutton has not been click the item container from tree always null, but once the dropdownbutton clicked than the item container from tree has value.



thanks
Jimmy

1 Answer, 1 is accepted

Sort by
0
Viktor Tsvetkov
Telerik team
answered on 14 Jun 2010, 05:17 PM
Hi Jim,

If you have not done yet, read this article. In the first paragraph are explained the conditions that must be accomplished before you can iterate through all treeview items.

Best wishes,
Viktor Tsvetkov
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.
Tags
General Discussions
Asked by
Jim
Top achievements
Rank 1
Answers by
Viktor Tsvetkov
Telerik team
Share this question
or