Html.DropDownListFor not behaving as expected ASP.net MVC
- by rybl
Hello, I am new to ASP.net MVC and I am having trouble getting dropdown lists to work correctly.
I have a strongly typed view that is attempting to use a Html.DropDownListFor as follows:
<%=Html.DropDownListFor(Function(model) model.Arrdep, Model.ArrdepOptions)%>
I am populating the list with a property in my model as follows:
Public…