I've got a DataGridView with a combo box in one of the columns. As it
stands, the user has to click the dropdown button twice - once to focus the
cell, and again to drop down the list. I can't find any property to change
this behaviour, the EditingControlShowing event doesn't fire until they
click the dropdown button, and I can't find a property or method to get the
DataGridViewComboBoxEditingControl object outside of the
EditingControlShowing event.
So, does anyone know, how can I get the list portion to display the first
time the dropdown button is clicked?

Signature
----
Mark
Mark Rendle - 23 Jan 2006 16:43 GMT
This is insanely annoying.
I've added an event handler to the CellEnter event which calls BeginEdit,
which forces the EditingControlShowing event to fire. Then in the
EditingControlShowing handler, I'm setting the
DataGridViewComboBoxEditingControl.DroppedDown to true. This makes the list
portion appear, but it appears under the cell which previously had the
focus.

Signature
----
Mark
Peter - 07 Mar 2006 01:01 GMT
Mark Rendle wrote (Date:Tues, Jan 24 2006 1:37 am):
> I've got a DataGridView with a combo box in one of the columns. As it
> stands, the user has to click the dropdown button twice - once to focus the
[quoted text clipped - 6 lines]
> So, does anyone know, how can I get the list portion to display the first
> time the dropdown button is clicked?
This problem has obviously come up before but I cannot find a solution
- is anyone able to assist with this at all?
I currently have a datagridview with a combo box and when you select
from the combo box and then go to hit 'save' you have to click it twice
before it registers that it's been clicked...
Any help would be greatly appreciated.
Regards,
Peter