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

Behavior of Up and Down keys

1 Answer 34 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
Justin Lee
Top achievements
Rank 1
Justin Lee asked on 05 Dec 2010, 08:15 PM
I have a RadNumericUpDown where I want to do something custom when the user presses Up or Down (instead of the default behavior of increasing or decreasing the value)  I added a handler for KeyDown, but when you press the Up or Down keys, the KeyDown event is not fired.  (it fires for all other keys)  Is there a way to disable or modify the default behavior for pressing the Up or Down keys?

Thanks,
Justin

1 Answer, 1 is accepted

Sort by
0
Justin Lee
Top achievements
Rank 1
answered on 05 Dec 2010, 11:26 PM
I have found a solution to this (by creating a class that inherits from RadNumericUpDown, and then overrided the KeyDown event). No need to reply.

Thanks,
Justin
Tags
NumericUpDown
Asked by
Justin Lee
Top achievements
Rank 1
Answers by
Justin Lee
Top achievements
Rank 1
Share this question
or