Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Posted

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:

Never trouble another for what you can do for yourself.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...