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

[Solved] RadGrid+Hierarchical+objectdatasource

1 Answer 120 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Carlos
Top achievements
Rank 1
Carlos asked on 26 Apr 2013, 02:34 PM
hi all,

som im trying to do a grid view with hierarchical details, but having problems if i connect directlyu to DB no prob using sqldatasource, trhe problem begins when i do with a objectadatasource, i have exeptions and i doesnt work whant can i be doing wrong?

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin
Telerik team
answered on 01 May 2013, 02:10 PM
Hello Carlos,

I am attaching a small sample that demonstrates how to achieve hierarchy binding using ObjectDataSource controls. Note that this scenario doesn't make much sense because you still have to supply the data. You can achieve the exact same result using the RadGrid advanced binding - NeedDataSource and DetailTableDataBind events.

I hope this helps.

Kind regards,
Martin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Carlos
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or