i am trying to get a keypress event on a datagrid, i don't want the user to hit the delete key. i have certain instances when i need to select a few rows in the grid, and when the user hits the delete key, the selected rows are deleted, which is horrible. i have tried to use a datagrid keypress event, but it only works on the actual datagrid, it doesn't handle rows and columns. Is it possible to write an event handler for the specific column in question? if so, does anyone know how to do so. i am open to any suggestions. i also thought, it would be easy if you could just disable the delete key for the specific function, because the datagrid is readonly, except in my edit mode. it would be great if i could just assign the delete key to a spacebar or something.

thanks,

jeff