Skip to content

Example of DropDownListFor in ASP.NET MVC DropDownList 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.

In this sample, the DropDownList is rendered with strongly-typed helper (FOR control) and bound its value from controller using model binding. The modified value is bond to controller action "DropDownListFor" when submitting a page.