Manual CRUD Operations with LinqDataSource

1 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1679 posts
    Member since:
    Oct 2004

    Posted 29 Jul 2014 Link to this post

    Requirements

    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.)

    .NET4+

    PROJECT DESCRIPTION 
    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