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

How to use mouse wheel to scroll div when using RadSlider as custom scrollbar

1 Answer 140 Views
Slider
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 2
David asked on 12 Mar 2009, 03:47 PM
I'm using the RadSlider as a custom scrollbar (like in this application scenario: http://demos.telerik.com/aspnet-ajax/slider/examples/customscrollbar/defaultcs.aspx) and would like to be able to allow the user to scroll inside the content div using the mouse's scroll wheel. Is there a way to accomplish this?

1 Answer, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 12 Mar 2009, 04:13 PM
Hello David,
You will have to handle the mousewheel event (DOMMouseScroll for FF) of the DIV element and change the value of the RadSlider according to the change in the top (left) of the element, holding your content.

Useful links:

All the best,
Tsvetie
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
Slider
Asked by
David
Top achievements
Rank 2
Answers by
Tsvetie
Telerik team
Share this question
or