@Html.DropDownList(paramId, new SelectList(Model.ParameterValues, "item1", "item2"))
@Html.DropDownList(paramId, new SelectList(Model.ParameterValues, "item1", "item2"), new { @class = "form-control" })
break;
break;
default:
default:
@MvcHtmlString.Empty
@MvcHtmlString.Empty
@ -23,6 +24,6 @@
}
}
@if (Model.HasMoscow)
@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" })