New to Telerik UI for ASP.NET MVC? Download free 30-day trial

ASP.NET MVC Grid Web API Binding

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
webapi.cshtml
WebApiController.cs

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

The Telerik UI for ASP.NET MVC Grid supports the implementation of the CRUD (Create, Read, Update, Destroy) data operations and a WebAPI controller. A WebAPI is a concept referring to APIs over the web, which can be accessed through the HTTP protocol and which are typically used with JavaScript. A WebAPI controller manages the incoming HTTP requests and sends back a response to the caller.

This demo shows how to bind the Data Grid in a WebAPI. By specifying the DataSource type as .WebApi(), the requests will be sent to the endpoints of the WebAPI in the expected format out of the box.

For more information, refer to the official Telerik UI for ASP.NET MVC Data Grid product documentation on WebAPI editing.

Additional Apps

This Grid example is part of a unique collection of hundreds of ASP.NET MVC demos, with which you can see all Telerik ASP.NET MVC components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in the ThemeBuilder.

Support & Learning Resources

Additional Resources