Displaying hierarchy in TreeView with domain data source

Miroslav Stantic

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

Petar Mladenov

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 RiaServices 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

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.