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

Problem with sel-relating data and tristate mode

1 Answer 45 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Stargazer
Top achievements
Rank 2
Stargazer asked on 02 Jul 2008, 09:44 AM
Hi!

I'm having a problem. Is there any way to make a TreeView with TriState mode activated, bound to self-related data (DataTable) to show the checkboxes checked or unchecked automatically, accordingly to data in the DataSource?

Or I'm stuck to having to do that by coding?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Accepted
Boyko Markov
Telerik team
answered on 04 Jul 2008, 11:01 AM
Hello Stargazer,

Thank you for contacting me.

RadTreeView does not support this feature natively so I you will have to do it by code. There is no way you can set the appropriate check state of a tree node when it is bound. You will have to traverse the whole tree view and set the state for each box after you bind it to a data source.

Please write me back, if I can assist you further.

All the best,
Boyko Markov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Treeview
Asked by
Stargazer
Top achievements
Rank 2
Answers by
Boyko Markov
Telerik team
Share this question
or