I've implemented a html drop down list and all seems to be fine, would just like to tidy it up:
1) When the order screen loads 'Select' appears as the initial option on the drop down. When the user clicks the drop down the 'select' still appears. I would like to hide 'select' when the drop down is being selected, some option in the view I am missing?
2) validation wise, I cant make an order until an option is selected from the drop down. This is fine however where before I was using a text box and got a nice big red error message, now I get nothing, How can I notify the user an option has to be chosen?
<div class="editor-field">
@Html.DropDownListFor(x => x.Selected_BicycleModelId, Model.BicycleModels, "Select")
@Html.ValidationMessageFor(model => model.Order.BicycleModel)
</div>
Update
@Html.ValidationMessageFor(model => x.Selected_BicycleModelId)
has resolved the validation message issue (thanks Roman Ko). anyone ideas on the 'select' dissapearing - JQuery?