Updating from RadGrid not working with EntityDataSource

2 posts, 0 answers
  1. David McCarter
    David McCarter avatar
    4 posts
    Member since:
    Feb 2010

    Posted 08 Jul Link to this post

    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




  2. Viktor Tachev
    Viktor Tachev avatar
    1438 posts

    Posted 11 Jul Link to this post

    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.

    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top