Disable Mouse Wheel

2 posts, 1 answers
  1. Gabe
    Gabe avatar
    29 posts
    Member since:
    Mar 2011

    Posted 05 May 2011 Link to this post

    I noticed that if i use the mouse wheel on this control in will increment or decrement respectively.
    How can I disabled this, it interferes with page scrolling where a user inadvertently changes a value
    in a numeric control when they are just trying to scroll down/up the page. 
  2. Answer
    Yana avatar
    4604 posts

    Posted 06 May 2011 Link to this post

    Hi Gabe,

    Disabling mouse wheel in RadNumericUpDown is not supported out of the box. I suggest you implement custom numeric control that inherits RadNumericUpDown and overrides OnMouseWheel method. I've attached a simple project demonstrating the approach.

    Hope this helps.

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top