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

Hierarchy Grid with Nested Object

1 Answer 77 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 25 Nov 2010, 03:31 PM
Good Day/Evening,

I've been struggling these past 2 days to get the Heirarchy grid working with my object, this is what my object looks like

Public Class Person
    Public Property Firstname as String
    Public Property Surname as String
    Public Property Age as Integer
    Public Property Vehicles as List(Of Vehicle)
End Class
 
Public Class Vehicle
    Public Property Make as String
    Public Property Model as String
    Public Property Color as String
End Class

Now when I call my WCF Service it returns a List(Of Person) which I bind to my RadGrid only show the Firstname,Surname and Age. I would like to get the Vehicles to show in a child grid. Is this possible?

Thank you!

1 Answer, 1 is accepted

Sort by
0
Ryan
Top achievements
Rank 1
answered on 25 Nov 2010, 04:08 PM
OK, seems like I found what I was looking for on the forums, all I needed to do was look a little harder

I went to the following thread
http://www.telerik.com/community/forums/aspnet-ajax/grid/hierarchy-grid-with-list-object-defined.aspx
Tags
Grid
Asked by
Ryan
Top achievements
Rank 1
Answers by
Ryan
Top achievements
Rank 1
Share this question
or