Manual CRUD Operations with LinqDataSource

Thread is closed for posting
1 posts, 0 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 29 Jul 2014 Link to this post


    Telerik Product and Version

    Q1 2008 and later

    Supported Browsers and Platforms

    All browsers supported by the Telerik UI for ASP.NET AJAX

    Components/Widgets used (JS frameworks, etc.)


    The current code library demonstrates RadGrid's capability for inserting new data, updating existing data and deleting data handled using RadGrid public API and Linq to SQL data context.

    Main points in this code library:
    • Using GridEditCommandColumn to change the edit state of an item in the grid.
    • Handling Update server event.
    • Handling Insert event and new record insertion with the build-in insert mechanism.
    • Extracting the new values from the cells for each column thus simplifying the code required to insert/update items.
    • How Telerik RadGrid automatically extracts the new values from the cells for each column.
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.