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

Handling RadButton return key press

1 Answer 90 Views
Buttons
This is a migrated thread and some comments may be shown as answers.
Brian Scott
Top achievements
Rank 1
Brian Scott asked on 21 Jan 2011, 12:26 PM
I am currently trying to handle the return key press for a RadButton control via the PreviewKeyDown event but am unable to. I can successfully handle other keystrokes, such as function keys, however the event is not raised when the return key is pressed. I can only assume that this is because the return key is seen as an access key and so handled elsewhere. Is there a way to turn this off or bypass it so that I can handle the return key for myself?

1 Answer, 1 is accepted

Sort by
0
Brian Scott
Top achievements
Rank 1
answered on 21 Jan 2011, 01:34 PM
Sorry, my mistake. I was handling the return key press further up the visual tree.
Tags
Buttons
Asked by
Brian Scott
Top achievements
Rank 1
Answers by
Brian Scott
Top achievements
Rank 1
Share this question
or