MVC Html.DropDownList not selecting value
This is an annoying bug and can catch you out at times. If using the Html.DropDownList() helper and the string id you specify has a property on the model or in the ViewBag that matches, you will use your selection.
Quick check, add XX to the end of the id and see if it shows the selected value.
Leave a Reply