Example of Filtering in ASP.NET Core Dropdown List Control

Dropdown List
Filtering

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.

Properties

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. The debounce delay, in milliseconds, for filtering the items in the DropDownList component can be set by using the debounceDelay property.

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
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab