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

Display Associated Data

1 Answer 17 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ray
Top achievements
Rank 1
Ray asked on 07 Jun 2010, 02:49 PM

I must be having stuck in the fog. I know what I am asking is simple however I cannot see the solution.

 

I am trying to display data in a RADGrid that include associated information between two tables.

 

I have two tables Products and Vendors

 

Products                                         Vendors

ProductID (pk)                                  VendorID (pk)

ProductName                                    VendorName

VendorRef (fk)

 

I want to display information from the products table including the VendorName from the vendors table.

 

Thank you for any insight and assistance.

Ray

1 Answer, 1 is accepted

Sort by
0
Accepted
Yavor
Telerik team
answered on 10 Jun 2010, 09:25 AM
Hi Ray,

You can either related the data as in the following example:

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/selectedvalue/defaultcs.aspx

or, use a standard hierarchy:

http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/declarativerelations/defaultcs.aspx

I hope one of these options is feasible for you.

Regards,
Yavor
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Ray
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or