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

Example of ComboBoxFor in ASP.NET MVC ComboBox Control

This example demonstrates the strongly-typed helper of ComboBox. Edit the ComboBox's value and click the 'Submit' button to pass the modified value to controller.

DEMO
SOURCE

In this sample, the ComboBox is rendered with strongly-typed helper (FOR control) and bind its value from controller using model binding. The modified value is bind to controller action "ComboBoxFor" when submit a page.