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

RadGrid with 2 linked tables

1 Answer 97 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 25 Jan 2012, 06:25 PM
What is the easiest way to do the following in a RadGrid control (if there is an example online anywhere this would be perfect)?

I have 2 database tables, customer and country with the following fields:

Customer table
Customer Name
Country ID
Customer ID

Country Table
Country ID
Country Name

I would like a grid to display the following columns.

Customer Name, Country Name, <Edit Link>

When you edit (or add a new row), there should be a text box to enter the customer name, and a drop down box for countries listing all the country names.  I am using Entity Framework to connect to a SQL server database.

Kind Regards
Richard Jonas

1 Answer, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
answered on 26 Jan 2012, 12:40 PM
I've managed to solve this - I was looking for a GridDropDownColumn, but I didn't know what it was called.
Regards, Richard
Tags
Grid
Asked by
Richard
Top achievements
Rank 1
Answers by
Richard
Top achievements
Rank 1
Share this question
or