• Material 3
  • Material 3 Dark
  • Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Localization
*Translated by Google Translator.
Currency
Essential Studio
HOME
All Controls

Example of ComboBoxFor in ASP.NET Core ComboBox Control

This sample demonstrates the strongly-typed extension support in Combo Box. The value of Combo Box value is set from code behind and it is set to Combo Box in view page by invoking the strongly-typed ComboBoxFor helper.

DEMO
SOURCE

Click the submit button to post the selected value in the Combo Box. When posting the null value, validation error message will be shown below the Combo Box.