Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1105
The Insert Key is not triggering KeyPress
posted

Hi,

I want to manually handle the INSERT Key on the grid.

But it is not firing the KeyPress Event.

Does someone know what I am missing?

regards

Stefan

  • 48586
    posted

    Hello,

     

    I am just checking about the progress of this issue. Did you solve your issue accordingly to the information that I provided  you?

    Let me know if you need any further assistance.

     

    Thank you for using Infragistics Components.

  • 48586
    Suggested Answer
    posted

    Hello Stefan,

     

    The KeyPress event is not firing for a keys that are not characters keys. You can find more info about this here: MSDN:  “The KeyPress event is not raised by noncharacter keys”, you should use KeyDown or KeyUp event. And you could write something like:

     

    KeyEventArgs arg = new KeyEventArgs(Keys.Insert);

    UltraGrid_KeyDown(UltraGrid, arg);

     

    To rise a Insert Key down to fire.

     

    Let me know if you have any further questions.