ASP.NET ComboBox - Filtering




The filtering feature of the ComboBox enables end users to search items in the list very fast.
As soon as the user types something, the ComboBox will display only the items that match the filter being used.
The filtering operation is performed on the client-side and thus it is extremly fast.

To enable the filtering feature, you need to use the FilterType property.
This property can be set to one of the following values:
  • None - the default value; all items will be displayed in the list.
  • StartsWith - only the items that start with the text typed in the input field will be displayed in the list.
  • Contains - only the items that contain the text typed in the input field will be displayed in the list.



« Back to examples