This is a migrated thread and some comments may be shown as answers.

OnKeyPress won't fire on F2

1 Answer 59 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Meik Napierski
Top achievements
Rank 1
Meik Napierski asked on 16 Apr 2010, 11:50 AM
Hello,
i implemented the OnKeyPress event to handle key press events on the client side. Everything works fine but when i press F2 the event won't fire. Is this a bug?

my version is 2010_1_309

with best regards
Meik Napierski

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 20 Apr 2010, 09:12 AM
Hello Meik,

KeyPress does not fire for special keys in Internet Explorer. In your case you need to use the KeyDown event like this:

<telerik:RadGrid  onkeydown="funcName()"   />

However, in this case you will not have the RadGrid instance and event arguments as function parameters.

Regards,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Meik Napierski
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or