I have a drop down that is created like this:
@Html.DropDownListFor(x => x.SelectedBrandCode,
new SelectList(Model.Brands, "Value", "Text"),
"-Select Brand-")
it works fine, but now I need another dropdown , this second one is NOT bound to a property in the model. This second one should be populated from the same List<>, but it is just for an AJAX search, there is no need to add an extra property in the Model for this. I would like to be able to set the id and name for this second one. If that is not possible - I can just make a unique class. But the only options that I see from the built in HTML Helpers are for creating an input for a property in the model. Is there any way to do this? or am I stuck with a foreach() loop on the list and manually making a <select> element?