How to get keypressed, keydown events from DataGridView data cells

Posted by extropy on Stack Overflow See other posts from Stack Overflow or by extropy
Published on 2008-11-28T12:33:03Z Indexed on 2010/03/23 3:11 UTC
Read the original article Hit count: 551

Hi. I need to recieve the key press events during cell editing in DataGridView control.

From what I have found on the net the DataGridView is designed to pass all key events from DataGridView to the cell editing control and you cannot get these events easily.

I found this peace of code http://www.codeproject.com/KB/grid/DataGridCellEvents.aspx that traps those events for DataGrid control, but that does not work for DataGridView.

© Stack Overflow or respective owner

Related posts about datagridview

Related posts about .NET