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

Keyboard Support

3 Answers 82 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Wesley Witt
Top achievements
Rank 1
Wesley Witt asked on 16 Dec 2010, 10:35 PM
Which key presses are passed through to the KeyDown event?  It seems that keys like page up/down are not passed through, just alpha keys, numbers, etc.

I need to get the other keys such as page up/down, arrow keys, etc. so that I can implement keyboard support for paging.

Thanks.

3 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 17 Dec 2010, 09:00 AM
Hi Wesley Witt,

Have you tried adding a routed event handler for the key down event , with the handledEventsToo parameter set to true ?.

Regards,
Pavel Pavlov
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Veselin Vasilev
Telerik team
answered on 17 Dec 2010, 09:02 AM
Hi Wesley Witt,

Alternatively, you can define your keyboard command provider as shown in this help topic.

All the best,
Veselin Vasilev
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Wesley Witt
Top achievements
Rank 1
answered on 17 Dec 2010, 05:10 PM
Not sure that using a command provider would work because it seems that you are restricted to a predefined set commands in the RadGridViewCommands enumeration.  I'll try the first suggestion.
Tags
GridView
Asked by
Wesley Witt
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Veselin Vasilev
Telerik team
Wesley Witt
Top achievements
Rank 1
Share this question
or