I\'m sure I am missing something obvious, but this is driving me nuts! If I specify html options, the value of my dropdownlist doesn\'t set.
In my controller, I ret
the second parameter of the DropDown Helper takes an object of type IEnumerable(Of SelectListItem) but you passed an object of type IEnumerable(Of SelectList) so this how the code should be written:
<%=Html.DropDownList("Coordinator",((SelectList)ViewData["Coordinator"]).AsEnumerable(),
new {style="width:175px"}) %>