Mouse Wheel Capture

2 posts, 0 answers
  1. Chris
    Chris avatar
    5 posts
    Member since:
    Aug 2012

    Posted 25 Jul 2012 Link to this post


    Is there a way to have the NumericUpDown capture the mouse wheel? Whenever a NumericUpDown is inside a scrollable area, the larger scroll area also scrolls with the mousewheel, so you get 1-2 ticks of mousewheel on the updown, then you've scrolled the larger area and the mouse is no longer over the updown.

  2. Boyan
    Boyan avatar
    758 posts

    Posted 30 Jul 2012 Link to this post

    Hi Chris,

    We managed to reproduce the bad behavior. I have logged it in our PITS where you can follow its progress. There is an easy workaround for this issue. Just attach to the MouseWheel event of the control and set:
    private void RadNumericUpDown_MouseWheel(object sender, MouseWheelEventArgs e)
        e.Handled = true;

    Please, excuse us for the inconvenience. We have added points to your account for the report. Don't hesitate to contact us if you have other questions.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top