I currently have a dropdownlist that looks like this
@Html.DropDownList("ItemID", null, "-- Select --", htmlAttributes: new { @class = "form-control chosen-select" })
which produces a default value of "-- Select --"
But I want to change this so the default is the current ItemID in the model.
So something like this
@Html.DropDownList("ItemID", null, @Model.ItemID, htmlAttributes: new { @class = "form-control chosen-select" })
How can I accomplish this?