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

Mouse wheel doesn't scroll RadScrollViewer

1 Answer 106 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 2
Michael asked on 21 Apr 2009, 11:23 PM
I'm finding that the mouse wheel does not cause RadScrollViewer to scroll.  Is there an easy way to fix this?

1 Answer, 1 is accepted

Sort by
0
Accepted
Nikolay
Telerik team
answered on 24 Apr 2009, 05:23 PM
Hi Michael,

Thank you for the question.

In order to enable scrolling on mouse wheel 'click', you should inherit RadPanel control and override its OnMouseWheel method. The scrolling logic should be implemented there. Simply, you need to call LineUp() and LineDown() methods of RadScrollViewer and this will scroll the items for you. I am attaching a sample project where this approach is demonstrated.

If you have additional questions, feel free to contact me.

Greetings,
Nikolay
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Michael
Top achievements
Rank 2
Answers by
Nikolay
Telerik team
Share this question
or