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
    Admin
    Nikolay avatar
    1803 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.

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top