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
    Admin
    Yana avatar
    4554 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.

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