Behavior of Up and Down keys

2 posts, 0 answers
  1. Justin Lee
    Justin Lee avatar
    149 posts
    Member since:
    Dec 2009

    Posted 05 Dec 2010 Link to this post

    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
  2. Justin Lee
    Justin Lee avatar
    149 posts
    Member since:
    Dec 2009

    Posted 05 Dec 2010 Link to this post

    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
  3. DevCraft banner
Back to Top