@Html.DropDownList(paramId, new SelectList(Model.ParameterValues, "item1", "item2"))
@Html.DropDownList(paramId, new SelectList(Model.ParameterValues, "item1", "item2"), new { @class = "form-control" })
break;
default:
@MvcHtmlString.Empty
@ -23,6 +24,6 @@
}
@if (Model.HasMoscow)
{
<p>this should take moscow</p>
@Html.DropDownList(muscowId, new SelectList(new List<SelectListItem>() { new SelectListItem{ Value = "4", Text = "Must"}, new SelectListItem{ Value = "3", Text = "Should"}, new SelectListItem{ Value = "2", Text = "Could"}, new SelectListItem{ Value = "1", Text = "Wont"}}), new { @class = "form-control" })