I\'m using asp.net mvc 3.
I have this dropdownlist of countries and I want to add a placeholder for it. Here\'s my code:
@Html.DropDownList(\"country
@Html.DropDownListFor(m => m.SelectedProductIDs, Model.AvaliableProducts.ToSelectList("ID","Name"), new { @class = "chzn-select", data_placeholder="Please select a product" })...
Please see in more details : http://code.stylenet.ca/mvc3-data-placeholder-html5-attribute/