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

[Solved] RadGrid and BoundCombo using EF DataSource

1 Answer 95 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matthew D
Top achievements
Rank 1
Matthew D asked on 22 Jul 2009, 06:24 PM
All-
Are there any examples/help out there for this scenario?
I have a few tables that I am loading into some RadGrids for editing. 
A few of the columns are really lookup/reference table data.  The primary table has foreign keys over to the various reference tables.

I want to show the description(from the reference table) as a label in read-mode.  But when it goes to "Edit" mode, switch to boundCombo boxes to allow those lookup fields to be selected from the dropdowns.

Then on the "Update" submit the edited row back for updating. 

I am using an EF model for testing but also have some WCF services for the CRUD methods if I need them.

Any help would be great-
MJD

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 27 Jul 2009, 03:54 PM
Hello Matthew,

You can take this online demo as a starting point for your custom implementation:

http://demos.telerik.com/aspnet-ajax/grid/examples/automaticoperations/efdatabinding/defaultcs.aspx

and include built-in GridDropDownColumn or a template column with MS DropDownList inside its edit template to perform editing with dropdown list instead of a regular textbox.
 
Kind regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Matthew D
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or