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

Binding to OData-v4 service

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Theme Builder
  • odata.cshtml
  • EmployeeViewModel.cs

Also available for:

API REFERENCE

Description

ASP.NET Core TreeList component supports binding to various endpoints. This example illustrates how you can use an OData-v4 service to populate the tree. The main points in the implementation are:

1. Initially requesting only the top level items(root items). In the particular case a bound function is used.
2. Requesting only the child nodes for a given node, on expand, using the id field value defined in the model.

Support & Learning Resources