Magic @Html.DropDownList
This is observed in MVC5
When one of properties of model is associated with another list, it is normal practice that list is saved in the ViewData as a SelectList , then in the View, the same list is retrieved back and passed to the html helper @Html.DropDownList(modelpropertyname,the SelectList)
What puzzled me is the second parameter, the SelectList could be ignored or even is attempted to be retrieved in a wrong way, the List could still be loaded correctly. Read the rest of this entry »
