How to apply Bootstrap dropdown style to an ASP.NET MVC DropDownList?

It is very much possible, and really easy. Please Read:
DropDownList bootstrap styling

All you need is:

@Html.DropDownList("movieGenre", "All", new { @class = "form-control"})

or

@Html.DropDownListFor(model => model.MovieGenreModel, SelectList, new { @class = "form-control"})

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)