Click here to Skip to main content
15,902,715 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello friend ,
i have combo box in datgridview now i want ...as we press enter key on dgv cell combo box should show all item



please help me



regards
Lakhan
Posted

1 solution

Handle the key press event in the cell.
Capture the key preseed, if it is the enter key, then set
C#
comboBox1.DroppedDown = true;
.
 
Share this answer
 
Comments
[no name] 7-Dec-11 9:23am    
thanks Abhinav .......
actually i want to open it only on enter key press event on current cell in datagridview
........

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900