Vote count:
0
In my ASP.NET view, how do I use the dropdownlist helper to set an option in a select and make it unchangeable? It has to be a select element for various reasons, or else this would have been an easy problem. I have this:
@Html.DropDownList("transactionTypeID", Model.TransactionTypeIDList, "")
Assuming I already know what every option in TransactionTypeIDList is, how can I set the dropdownlist to this option and make it impossible to change?
asked 33 secs ago
Html.dropdownlist set unchangeable option
Aucun commentaire:
Enregistrer un commentaire