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

NestedGrid binding question

1 Answer 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mads
Top achievements
Rank 1
Mads asked on 26 Oct 2012, 02:25 PM
Hi,

I am new to telerik and currently working on a nested gridview.
I need to connect VEDK_ProductCategory table to VEDK_Product table. I have a diagram here:

DB Diagram


I can not figure out how I should configure the MasterTableView and DetailTable to make this happen.

ProductCategory 1
  •    Product 1
  •    Product 7

ProductCategory 2
  •    Product 4
  •    Product 6


Hope you can help me.

//Mads...

1 Answer, 1 is accepted

Sort by
0
Accepted
Eyup
Telerik team
answered on 31 Oct 2012, 09:22 AM
Hi Mads,

Please check out the following demos:
  - Standard Hierarchy
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/declarativerelations/defaultcs.aspx
  - Hierarchy with Templates
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplate/defaultcs.aspx
  - Template relations
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplatedeclarativerelations/defaultcs.aspx
  - Master / Detail grids
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/selectedvalue/defaultcs.aspx

and choose the approach most suitable to your specific requirements.

I hope this will prove helpful.

Greetings,
Eyup
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
Mads
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or