It seems there are lots of people asking this question, but from my browsing very few working answers. I am trying to simply catch keypresses on a .NET Datagrid. easy huh!
It seems that Datagrid actually contain textboxes to display the data and thus the keypresses only work when the user presses a key while having previously selected an entire row or somewhere else other than the grid. This is far from ideal.
I understand a work around would be to add column styles and datagridtextbox's which are coded to have a keypress event. I have tried numerous ways of doing this but to no avail......any ideas??