Article relates to
January, 20, 2009
Last modified by
How to bind RadTreeView to hierarchical data and use load-on-demand?
1. This article is based on the approach described in the Populating Silverlight TreeView from WCF Service with LINQ to SQL article. Therefore, before going further make sure you’ve read and understood it, so that you have the necessary background.
2. Now that we have the basis set up it’s time to go on. First we need to add an event handler for the Expanded event:
5. After that we have to modify the FindChildren() method by removing the iterative call:
6. That’s it – you now have a treeview bound to a collection of custom objects which are loaded on demand.
Attached, please find a sample project demonstrating the above approach.
Copyright © 2016, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
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.