Disable Combobox

flynn

Regular
Joined
Jul 28, 2005
Messages
59
I have a combobox that is populated with a list of possible values from a database table. Then I bind the combobox so that a specific value shows. All normal stuff, but what I need to be able to do is to allow the user to drop down the combo but DO NOT let them select anything (only view other values). I know this might not be the standard combobox operation, but this is what the customer wants.

Any ideas?

tia,
flynn
 
SelectedIndexChanged

I doubt this behaviour is provided by the ComboBox control, but you can achieve it by handling the SelectedIndexChanged event and reverting the selected item back to its previous value.

Good luck :cool:
 
Back
Top