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

Parent Child Relationship using DataSet

2 Answers 216 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 23 Dec 2010, 03:15 PM
I have been able to get the parent child to work using the DetailTableDataBind event and having HierarchyLoadMode="Client".  I am moving from Infragistics and using there controls I was able to bind the grid to a dataset that contained two tables with a data relationship defined using this method: Dim dr As DataRelation = New DataRelation("OrderTable", dc1, dc2, False) .  How or can I do this for a RadGrid wihout using the DetaiTableDataBind event?

Thanks

John


2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 24 Dec 2010, 07:59 AM
Hello,


Check the "Create hierarchical grid programmatically" section of following documentation to know how to create hierarchical grid dynamically.
Programmatic creation

Happy Christmas!

Regards,
Shinu.
0
John
Top achievements
Rank 1
answered on 27 Dec 2010, 03:01 PM
Thanks for the info but it still does not answer my question of: 

I have been able to get the parent child to work using the DetailTableDataBind event and having HierarchyLoadMode="Client".  I am moving from Infragistics and using there controls I was able to bind the grid to a dataset that contained two tables with a data relationship defined using this method: Dim dr As DataRelation = New DataRelation("OrderTable", dc1, dc2, False) .  How or can I do this for a RadGrid wihout using the DetaiTableDataBind event?

I want to know if I can create the radgrid layout in the aspx page and bind to a dataset that has a predefined datarelationship.  I do not want to embed sql statements in the aspx page as shown in the link you gave.

Thanks



Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
John
Top achievements
Rank 1
Share this question
or