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

2 posts, 0 answers
  1. David
    David avatar
    1 posts
    Member since:
    Sep 2008

    Posted 12 Mar 2009 Link to this post

    I'm using the RadSlider as a custom scrollbar (like in this application scenario: 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?
  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 12 Mar 2009 Link to this post

    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,
    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top