asp.net mvc - Styling a dropdownlist using bootstrap -


@using (html.beginform()) {

            <label class="btn btn-success">genre</label> @html.dropdownlist("moviegenre", "all")              title: @html.textbox("searchstring")                 <input type="submit" class="btn btn-warning" data-loading-text="finished" value="filter" />         </p> 

can advise how style dropdown list in mvc using bootstrap. getting dropdownlist objects table , works fine can't style other defualt.

@html.dropdownlist("moviegenre", (selectlist)viewbag.genre, "select genre", new { @class = "form-control" })

here code struggling grey area of drop down lists , styling


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -