views:

272

answers:

1

I am trying to expand the ComboBox when users click it but I have had no success.

This is what I have:

private void dtgProductos_CellClick(object sender, DataGridViewCellEventArgs e)
{
    SendKeys.Send("{F2}");
    //dtgProductos.BeginEdit(true); does nothing!
}

Any advice on how to do this?

+1  A: 

Check out How to manually drop down a DataGridViewComboBoxColumn?
There are a couple of solutions that should work for you.

SwDevMan81
+1 thanks SwDevMan81-dude
Luiscencio
NP, glad I could help
SwDevMan81