We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Key down event not triggering

I am using the CellKeyPressed event however it does not seem to seperate between control key and a character being pressed together. I tried using the _KeyDown, _KeyPress, but they do not trigger at all.

Im wanting any event that handles combined key presses e.g. ctrl+V or cntrl+x.

This message was posted using Page2Forum from Working with Aspose.Cells.GridDesktop Events - Aspose.Cells for .NET


Please try the following code to handle ctrl+V or
ctrl+X in CellKeyPressed event handler:<o:p></o:p>

private void gridDesktop1_CellKeyPressed(object sender, CellKeyEventArgs e)


if (e.Control == true)


if (e.KeyCode == Keys.C)


else if (e.KeyCode == Keys.V)



<span style=“font-size: 10pt; font-family: “Courier New”;” lang=“EN-US”>

Thank you.