I want to cancel this operation if the user selects a specific item because I don't want to force the user to open the dropdown again. Can this be done?
+3
A:
Why are you putting that item into the drop down list if you will not allow the user to select it? Can you modify your design to provide a more useful user interface?
Serhat Özgel
2009-01-27 11:57:38
+2
A:
Maybe you could just use ListBox control? Preventing combobox closing is imho a bad UI design idea...
Mr. Brownstone
2009-01-27 11:57:58
A:
You're going to override expected behavior of common control and it's not a good idea. If you want to provide some kind of hierarchical selection use ListBox or TreeView.
aku
2009-01-27 12:05:07
A:
this is my client request, I tried to give him another solution but no effect
Cornel
2009-01-27 12:19:02
Well you probably can make a prototype of both and show him which is easier to use. If he still choses the combobox option, he asked for it...
Gamecat
2009-01-27 12:23:50
the ComboBox is inside a DataGridView.
Cornel
2009-01-27 12:56:24