Currently an item of a combobox can be selected in two ways - either by using the dropdown option or by manually entering the name of the item. However in the latter case upon entering an unexisting item, the SelectedItem propery of the combobox gets changed to null and I need it always to be a not null value. Therefore I want to disable the possibility of entering the name manually in the combobox.
I've looked here: http://msdn.microsof...s.combobox.aspx and in related methods/properties/classes, but couldn't find any such option. How can I do this?
1 Replies - 80 Views - Last Post: 17 February 2013 - 03:48 AM
#1
How can I make ComboBox item to be selected only with dropdown?
Posted 17 February 2013 - 02:54 AM
Replies To: How can I make ComboBox item to be selected only with dropdown?
#2
Re: How can I make ComboBox item to be selected only with dropdown?
Posted 17 February 2013 - 03:48 AM
Set the DropDownStyle to DropDownList
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|