Hi,
Iam trying to delete a row on a Winforms datagrid and before deleting
the row I want to do some validation. But, the Keydown event on the datagrid
where I check whether the key pressed is 'Delete' seem to fire sometimes
only. How do I change the code so that the Keydown event fires at all times.
Am I missing something?
Any help is appreciated. Thanks in advance.
Srikanth.
"Jeffrey Tan[MSFT]" - 29 Oct 2004 03:28 GMT
Hi Srikanth
For this issue, I have added a reply to you in
"microsoft.public.dotnet.framework.windowsforms.controls" with title
"Winforms datagrid keydown problem". Please follow up there, I will work
with you. Thanks for your understanding!!
Best regards,
Jeffrey Tan
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Ken Tucker [MVP] - 30 Oct 2004 04:31 GMT
Hi,
Sample code for a datagrid that pops a confirmation box when you delete a
row and raises an event when a row is delete.
http://www.onteorasoftware.com/downloads/delete.zip
Ken
-------------------
Hi,
Iam trying to delete a row on a Winforms datagrid and before deleting
the row I want to do some validation. But, the Keydown event on the datagrid
where I check whether the key pressed is 'Delete' seem to fire sometimes
only. How do I change the code so that the Keydown event fires at all times.
Am I missing something?
Any help is appreciated. Thanks in advance.
Srikanth.