I have a dropdownlist which has three items. When I select any item , I don't see what i have selected , in other words , the selected item doesn't appear in the combobox text!
Does anyone know what might be wrong ?
Printable View
I have a dropdownlist which has three items. When I select any item , I don't see what i have selected , in other words , the selected item doesn't appear in the combobox text!
Does anyone know what might be wrong ?
Do you have any code in the project relating to that combo box?
If for example you had code that was inside the selectedIndexChanged event that set the index to -1 that could do it. Would be extremely dumb but thought I'd make a stab at it.
Does it do it to any other combo boxes that you add to the form that have items in its collection?
try setting the CausesValidation property of the control to False.
i know this is stupid but, have you set the dropdownstyle of the combobox to only dropdown insted of dropdownlist, on the properties pane or in code?
winsrp , actually , it was dropdown and when I changed it to dropdownlist it worked.
thanks alot
most welcome, remeber to put your problem as solved dude.