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

Master-Detail with RadGrid and DetailsView using EntityDataSource

1 Answer 112 Views
Grid
This is a migrated thread and some comments may be shown as answers.
asimptota
Top achievements
Rank 1
asimptota asked on 16 Aug 2012, 06:43 AM
Is there a sample of master-detail with RadGrid and DetailsView using EntityDataSource? I need to implement the functionality similar to THIS example. I'm using RadToolBar as CommandItem, but I want to be able to View/Edit/Insert new records through DetailsView, not as a RadGrid inline elements. When I client select a row and then click "Edit" button on a toolbar, I need to display a new WebPage or even better modal RadWindow with a DetailsView. Any sample code, please?

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 21 Aug 2012, 08:02 AM
Hi,

 You can check how to perform binding with EntityDataSource in this demo. The type of the edit form (whether it is inline, popup etc.) can be configured through the EditMode property of the grid
http://www.telerik.com/help/aspnet-ajax/grid-edit-forms.html 
http://www.telerik.com/help/aspnet-ajax/grid-popup-edit-form.html 

You can also use EditFormTemplate if you need more customization of the edit form:
http://www.telerik.com/help/aspnet-ajax/grid-custom-edit-forms.html 

Kind regards,
Marin
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
asimptota
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or