RadGrid - Client-side Databinding with WebAPI

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

    Posted 13 Dec 2014 Link to this post


    Telerik Product and Version

    Telerik UI for ASP.NET AJAX v.2014.3.1024.45 or later

    Supported Browsers and Platforms

    IE 10+, Firefox, Chrome, Opera, Safari 7+

    Components/Widgets used (JS frameworks, etc.)

    Web API 2.0, ASP.NET 4.5, Visual Studio 2013


    The attached project shows integration of RadGrid and RadClientDataSource with Web API. It shows basic databinding and batch editing sending and receiving information through Web API
  2. Michael Gedzelman
    Michael  Gedzelman avatar
    1 posts
    Member since:
    Dec 2012

    Posted 21 Aug 2020 in reply to 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD Link to this post

    I have been attempting to make this work with a web api that is actually connected to a database via entity framework.   The "Add" works find and the read works fine.  But if I try to do an update or delete, it never works.  According to the requestStart function, it always thinks the type is "create", so it fails.  I read somewhere to add an ID field into the database and schema, but did not make a bit of difference.  I've been at this for a day with no success at all.




  3. 0FB9D9BC-DE82-4A54-A0D4-6034D3C617C0
    0FB9D9BC-DE82-4A54-A0D4-6034D3C617C0 avatar
    631 posts
    Member since:
    Apr 2022

    Posted 26 Aug 2020 Link to this post

    Hi Michael,

    The issue you are experiencing does not concern this Code Library sample. This will run out of the box once downloaded and executed. For the problem, please submit a formal support ticket and share the current code you have. You can take the sample from this Code Library and modify it to replicate the scenario. Once done, you can share that with us through the Support Ticket.

    Attila Antal
    Progress Telerik

    Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Back to Top

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