Stacie
asked on
Drop Down with bootstrap can't format it... New help.
I have the following code and I'm not sure how to apply the bootstrap on the drop down.
Full code:
Drop Down. Not sure what I have to modify here.
Full code:
<div class="form-inline">
Find by Last Name or First Name: @Html.TextBox("SearchString", ViewBag.CurrentFilter as String, new { style = "width:200px", @class = "form-control" })
Location:
@Html.DropDownList("LocationList", "All")
<input type="submit" value="Search" class="btn btn-default" />
</div>
Drop Down. Not sure what I have to modify here.
@Html.DropDownList("LocationList", "All")
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
CS1928: 'System.Web.Mvc.HtmlHelper <PagedList .IPagedLis t<TweddleP honeListAp plication. Models.Mas terList>>' does not contain a definition for 'DropDownList' and the best extension method overload 'System.Web.Mvc.Html.Selec tExtension s.DropDown List(Syste m.Web.Mvc. HtmlHelper , string, System.Collections.Generic .IEnumerab le<System. Web.Mvc.Se lectListIt em>, object)' has some invalid arguments
ASKER
@Html.DropDownList("Locati