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

Disable Mouse Wheel

1 Answer 64 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
Gabe
Top achievements
Rank 1
Gabe asked on 05 May 2011, 04:41 PM
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. 

1 Answer, 1 is accepted

Sort by
0
Accepted
Yana
Telerik team
answered on 06 May 2011, 01:17 PM
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
Tags
NumericUpDown
Asked by
Gabe
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or