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

Bind Treeview

2 Answers 182 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Donovan Kruger
Top achievements
Rank 1
Donovan Kruger asked on 25 May 2010, 02:58 PM
Hi

can you bind the Rad Treeview to a datasource dynamically ?

I want it to show a list of events from a table.

Kind Regards
D.Kruger

2 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 28 May 2010, 10:13 AM
Hi Donovan Kruger,

Thank you for writing.

All you need is to create a representation of your events that RadTreeView knows how to bind to. Your events table needs to support at least the IList interface in order to make the binding work. You will get best results if you organize your data in a DataTable or DataSet (if you have tables of related events). This way whenever something in your DataSet/DataTable changes, you will not even have to rebind RadTreeView, it will update itself accordingly. Please refer to the section of our online help which describes RadTreeView's data binding mechanism.

Write again if you need further assistance.

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
Stefan
Telerik team
answered on 23 Mar 2011, 04:29 PM
Hi Donovan,

Please note that in Q1 2011 we have introduced a major upgrade of RadTreeView control, which is now virtualized and fully customizable. Feel free to download the latest release and try it out. For more information on our latest release refer to this blog post.

Kind regards,
Stefan
the Telerik team
Tags
Treeview
Asked by
Donovan Kruger
Top achievements
Rank 1
Answers by
Victor
Telerik team
Stefan
Telerik team
Share this question
or