Difference in Scrolling Behavior Buttons/ButtonsOver

4 posts, 1 answers
  1. Carsten Koster
    Carsten Koster avatar
    25 posts
    Member since:
    Sep 2006

    Posted 27 Jul 2009 Link to this post

    Hi there,

    I stumbled across a little, I would not go as far as to call it a problem, issue. It seems the rotator behaves differently when setting either to Buttons or ButtonsOver mode. In Buttons mode the whole viewport is scrolled after clicking the left/right arrow. In ButtonsOver-mode only one item is advanced when clicking the right/left arrow.
    Is it possible to achieve said behavior with the Buttons-Mode too? To clarify I would like the Buttons-Mode NOT wich Viewpoint but Item scrolling.

    Thank you for your assistance.
  2. Fiko
    Fiko avatar
    1406 posts

    Posted 29 Jul 2009 Link to this post

    Hello Carsten,

    RadRotator does not support scrolling only one item when there are more visible in the viewport of the control (when it is used in Buttons mode). In your case I recommend you use the FromCode mode and implement the desired scrolling that you need. For your convenience I have attached a demo that shows the basic steps that you need to implement in your project.

    I hope this helps.

    Sincerely yours,
    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
  4. Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 04 Feb 2011 Link to this post

    I still don't understand why the Buttons mode doesn't work like the ButtonsOver mode.

    If you go to your demo:


    Set the Width to 390px and the ItemWidth to 120px. In IE7 it shows three items properly spaced and viewable in the rotator space. If you have ButtonsOver as the RotatorType, the scrolling looks perfect. Now if you change it to Buttons, the scrolling gets thrown off, even worse when you continue scrolling.

    Why don't they work the same way? Aren't they functionally the same, the only difference being the event that raises the scrolling?
  5. Answer
    Tsvetie avatar
    1517 posts

    Posted 09 Feb 2011 Link to this post

    Hi Cori,
    When you use the Buttons mode, a single click on a rotator button will scroll the entire viewport of the rotator. On the other hand, when you use the ButtonsOver mode, the rotator will scroll the items element, until you move the mouse away from the rotator button. Both behaviors are by design. In case you want, you can use the client-side API of RadRotator to implement the behavior you expect. The code that Fiko sent you, should help you get started. I believe, the following online demo should be of help as well in this case:


    Best wishes,
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top