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

Master/Detail example with EntityFramework

1 Answer 112 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Onedemian
Top achievements
Rank 1
Onedemian asked on 15 Sep 2011, 12:10 AM
Hi,

The feature demostrated here in your demo site, fits well our situation. But the example was developed using SqlServerDataSource, and we would like to do it with EntityFramework.

Could you provide us an example of it but using EntityFramework instead of SqlServerDataSource?
What would we have to change to accomplish the same example?

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 20 Sep 2011, 08:49 AM
Hello Onedemian,

Can you elaborate on the issues you are facing when implementing such functionality with the Entity Framework?
Basically, this functionality does not depend on the grid binding. The important part here is to rebind the detail grids when the selected index of the master grid is changed. Other than this, you should able to easily get the key values for the selected item in master grid and use if later in the query for binding the detail grid.

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