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

Binding to remote data

Loading Demo...
  • Edit in Theme Builder

Also available for:



The Telerik MVC Grid offers two ways of data-binding:

  • Server - the widget performs server-side requests (HTTP GET) when doing paging, sorting and filtering.
  • Ajax - the widget will make Ajax requests when doing paging, sorting, filtering, grouping or saving data. In this mode the grid retrieves only the data (in JSON format) representing the current page. As a result only the grid is updated.

For remote data binding you need to specify a remote endpoint or web service returning data in JSON/JSONP, OData or XML format, and utilize the DataSource as a mediator between the grid and the underlying data. To make the connection to the remote endpoint and process the data properly, the data source needs information about the web service URL(s), the request type, the response data type, and the structure (schema) of the response, in case it is more complex than a plain array of objects.

In this example the grid fetches its data from a MVC controller assigned via the DataSource read configuration. In addition to the visualization, the grid also provides built-in support for operations over data such as sorting, filtering and paging.

Additional information about how to utilize the data binding feature of the MVC grid component can be found in this section of the product documentation.

Support & Learning Resources