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

Displaying hierarchy in TreeView with domain data source

1 Answer 78 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
MiroslavStantic
Top achievements
Rank 1
Iron
MiroslavStantic asked on 09 Dec 2010, 04:53 PM
Hi,

How do I display hierarchy in TreeView if data is coming from domain data source?

I use HierarchicalDataTemplate and the first level of data is displayed correctly. The second level shows as many nodes as there are records in a dds.DataView. These nodes are empty even though I bound them to a field.

I could not find any samples using domain data sources in your Demo app.

Thanks in advance

Miroslav

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 14 Dec 2010, 08:28 PM
Hello Miroslav Stantic,

Could you please examine the attached solution and let us know if it works for you or not? It demonstrates how to bind a RadTreeView using Ria Services and DomainDataSource. If it doesn`t satisfies, you we would highly appreciate if you send us a runnable sample ( including backup of the database if needed) so that we could investigate your issue in depth. Thank you for your cooperation in advance.

Best wishes,
Petar Mladenov
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
TreeView
Asked by
MiroslavStantic
Top achievements
Rank 1
Iron
Answers by
Petar Mladenov
Telerik team
Share this question
or