views:

242

answers:

0

Hi all,

I am using Telerik's Silverlight grid control (RadGridView) to display a table of data (List of companies) and every row can be further expanded to show list of employees working for the company as below:

+Company 1
+Company 2
-Company 3
    Employee 1
    Employee 2
    ...

I have the following classes to work with: Company class which contains a list of Departments and Department class has a list of Employees.

I can easily bind Companies to the grid view and the departments to the child grid but I can't figure out how to bind the employees to the child grid. How do you bind the child property of a property of an object to a child grid of a grid bound to the parent object?

Thanks in advance for your help,

Nizzah