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

[Solved] IHierarchicalDataSource

4 Answers 221 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Steven Marchessault
Top achievements
Rank 1
Steven Marchessault asked on 21 Dec 2007, 05:05 PM
You use to support IHierarchicalDataSource for the treeview. Not anymore?

Thanks,
Sergey

4 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 21 Dec 2007, 05:08 PM
Hi,

RadTreeView should support binding to IHierarchicalDataSource (we have an online example demonstrating binding to SiteMapDataSource). Could you give us some more details?

Regards,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Steven Marchessault
Top achievements
Rank 1
answered on 21 Dec 2007, 05:19 PM
Well, same data source that works with legacy treeview, now gives me error: System.InvalidOperationException: Data source is an invalid type.  It must be either an IListSource, IEnumerable, or IDataSource.
I'll see if I can make a test project for you.

Thanks
0
Atanas Korchev
Telerik team
answered on 21 Dec 2007, 06:13 PM
Hi,

We were able to reproduce that error when binding to class which implements IHierarchicalDataSource without inheriting from HierarchicalDataBoundControl. This bug is logged and will be fixed for the service pack of RadControls "Prometheus". Please open a support ticket to send you a private hotfix.

Regards,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Steven Marchessault
Top achievements
Rank 1
answered on 21 Dec 2007, 06:36 PM
Thank you, will do.
Tags
TreeView
Asked by
Steven Marchessault
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Steven Marchessault
Top achievements
Rank 1
Share this question
or