Getting Multiple Selected Values in Html.DropDownlistFor
Use a ListBoxFor instead of DropDownListFor: @Html.ListBoxFor(m => m.branch, CommonMethod.getBranch(“”, Model.branch), “–Select–“) @Html.ListBoxFor(m => m.division, CommonMethod.getDivision(Model.branch, Model.division), “–Select–“) The branch and division properties must obviously be collections that will contain the selected values. And a full example of the proper way to build a multiple select dropdown using a view model: public class MyViewModel { … Read more