I\'m building my first MVC application after years of doing webforms, and for some reason I am not able to make this work:
@Html.DropDownList(\"PriorityID\"
You Can do it using jQuery
$("select").addClass("form-control")
here, Select is- html tag, Form-control is- class name
@Html.DropDownList("SupplierId", "Select Supplier")
and here, SupplierId is ViewBagList, Select Supplier is - Display Name