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

Difference in Scrolling Behavior Buttons/ButtonsOver

3 Answers 51 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Carsten Koster
Top achievements
Rank 2
Carsten Koster asked on 27 Jul 2009, 01:18 PM
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.

3 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 29 Jul 2009, 10:23 AM
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,
Fiko
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.
0
Cori
Top achievements
Rank 2
answered on 04 Feb 2011, 08:50 PM
I still don't understand why the Buttons mode doesn't work like the ButtonsOver mode.

If you go to your demo:

http://demos.telerik.com/aspnet-ajax/rotator/examples/default/defaultcs.aspx

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?
0
Accepted
Tsvetie
Telerik team
answered on 09 Feb 2011, 04:43 PM
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:

http://demos.telerik.com/aspnet-ajax/rotator/examples/clientapicontrol/defaultcs.aspx

Best wishes,
Tsvetie
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.
Tags
Rotator
Asked by
Carsten Koster
Top achievements
Rank 2
Answers by
Fiko
Telerik team
Cori
Top achievements
Rank 2
Tsvetie
Telerik team
Share this question
or