New to Telerik UI for ASP.NET Core? Download free 30-day trial
Binding to remote data
Also available for:API REFERENCE
The Telerik Grid for ASP.NET Core offers two general ways of data-binding:
- Ajax - the component performs server-side requests when doing paging, sorting and filtering. In this mode the grid retrieves only the data (in JSON format) representing the current page. As a result only the grid is updated.
- Client operations - set the DataSource
ServerOperations(false)and allow the grid to perform all data operations on the client or pass the model via the view.
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.
In this example the grid fetches its data from an 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.
More about the Telerik Grid for ASP.NET Core