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

ASP.NET Core DropDownList Custom Data Source

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
custom_datasource.cshtml
Custom_DataSourceController.cs
Custom_DataSource_TagHelper.cshtml

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

Bind the Telerik UI for ASP.NET Core DropDownList to a wide range of data sources: static arrays, local or remote data, or even Web API endpoints. You can configure the data binding in just a few steps.

From the demo you can see how to configure the Telerik UI for ASP.NET Core DropDownList for data binding by using a custom DataSource and binding it to a ToDataSourceResult instance.

Additional Apps

This DropDownList example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core 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 Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources