In this example I will show you how to populate a RadTreeView using LINQ and WCF. Also you will see how to transform a flat data into a hierarchical one.
The target result is:
1. Create a new Silverlight Web Application Project
NOTE: Make sure you choose "Web Application Project"
After the project loads you can see that besides the regular Silverlight application, Visual Studio adds a Web application that will host the .xap file.
Before writing any LINQ or creating any WCF service, we need a database to target.
2. Right-click on RadTreeViewWithWCFWeb project and add a new item - "SQL Server Database". You can give the...