Example of Filtering in ASP.NET Core Dropdown List Control

This sample demonstrates the filtering functionalities of the DropDownList. Click the DropDownList element and then type a character in the search box. It will display the filtered list items based on the typed characters.

DEMO
SOURCE

The DropDownList has built-in support to filter the data source, when allowFiltering is enabled. It performs when characters are typed in the search box. In the filtering event, you can filter down the data source and return the resulted data to DropDownList via updateData method to display its list items.

This sample illustrates that, query the data source and pass the resulted data to DropDownList through the updateData method in filtering event.

More information on the filtering feature configuration can be found in the documentation section.

Transform your ASP.NET Core web apps today with Syncfusion ASP.NET Core components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE