Given is the following MVC razor code which creates a dropdown from a list:
@Html.DropDownList(\"MyTestList\", null, new { @class = \"btn btn-default dropdown-t
Try this code :
@Html.DropDownListFor(model => model.MovieGenreModel, SelectList, new { @class = "form-control",aria_describedby="dropdownMenu1"})