1
I have a DropDownListin my View and despite having the class form-control the list does not take the style of the Bootstrap.
How can I edit the way DropDownList builds the lists?
@Html.DropDownList("countriesDiretorySelect",
new SelectList(ViewBag.Countries as System.Collections.IEnumerable,
"NumKeyId",
"VarResourceLevelName"),
new { id = "countriesDiretorySelect", @class = "form-control " })
As I have the whole site based on Bootstrap, do not want to let escape this element. I have the project in MVC4.