ASP.Net MVC make Html.DropDownList unselectable

fahad304

New Member
I would like display some Html.DropDownList controls in custom readonly mode.Control should be able to open underlaying popup but it shouldn't save values that selected by user.For example I have Html.DropDownList control with three values:Value 1Value 2Value 3Selected item for control "Value 2"User see combobox control with displayed item "Value 2".When user click on control popup with all three values should be opened (as for usual combobox control). In case user choose value different from "Value 2" selected value shouldn't be saved in control. So, when user click on item "Value 3" from underlying list, control should still display item "Value 2" as selected Is it possible in any way?Thank you
 
Back
Top