• Material
  • Fabric
  • Bootstrap
  • Bootstrap v4
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

Example of DropDownListFor in ASP.NET MVC Dropdown List Control

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

DEMO
SOURCE

In this sample, the DropDownList 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 "DropDownListFor" when submit a page.