This is a migrated thread and some comments may be shown as answers.
Updating from RadGrid not working with EntityDataSource
1 Answer 9 Views
This is a migrated thread and some comments may be shown as answers.
David McCarter
Top achievements
Rank 1
David McCarter asked on 08 Jul 2016, 04:56 PM

I've hooked up RadGrid to an EntityDataSource control. It shows data fine, but won't update. Here is how I have the data source control setup:

<ef:EntityDataSource ID="EntityDataSource1" runat="server" EntitySetName="Events" DefaultContainerName="" EnableInsert="True" EnableUpdate="True" ContextTypeName="DataAccess.SurveyContext" EnableFlattening="False" AutoPage="False" AutoSort="False" EnableViewState="True"></ef:EntityDataSource>

Any ideas why update won't work?

David McCarter

 

 

 

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 11 Jul 2016, 01:29 PM
Hello David,


You can have automatic or manual CRUD operations for the RadGrid. Please examine the following online examples that illustrate how you can implement both approaches.




Regards,
Viktor Tachev
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Grid
Asked by
David McCarter
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or