1
votes

In MVC 3 I have a Html.DropDownListFor which works very well. It works like it's bound to the Model so when I change to something specific the model changes as well.

The problem is that for cosmetic reasons I wan't to have the OptionLabel always be the one shown not the actual value. So the DropDownList will be chosen to select the value but doesn't have to display the value.

Is there any way to do that?

1

1 Answers

0
votes

You can create a custom dropdown list developing an extension method of the helper Html.