RadGrid - Client-side Databinding with WebAPI

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

    Posted 13 Dec 2014 Link to this post

    Requirements

    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

    PROJECT DESCRIPTION 

    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
    Michael  avatar
    1 posts
    Member since:
    Dec 2012

    Posted 21 Aug in reply to Telerik Admin 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.

     

    Thanks,

    Michael

  3. Attila Antal
    Admin
    Attila Antal avatar
    561 posts

    Posted 26 Aug 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.

    Regards,
    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.