Mouse wheel doesn't scroll RadScrollViewer

2 posts, 1 answers
  1. Michael
    Michael avatar
    33 posts
    Member since:
    Mar 2009

    Posted 21 Apr 2009 Link to this post

    I'm finding that the mouse wheel does not cause RadScrollViewer to scroll.  Is there an easy way to fix this?
  2. Answer
    Nikolay avatar
    1805 posts

    Posted 24 Apr 2009 Link to this post

    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.

    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.
Back to Top