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

showNext keeps going

1 Answer 62 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 10 Oct 2008, 04:13 PM
I just started using the 2008 Q2 SP2 controls. I noticed that after upgrading from the 2008 Q2 version that the rotator is not acting the same way as it was before. I was using a slider that when you moved it one value it would call the showNext function of the rotator to make it move to the next item. With the SP2 version, it moves to the next frame, but then it keeps on moving. It will pause, and then advance as if the slide show was started.

Here is the JS code I'm using to move the rotator:

function RotateNext() { 
        var rotator = $find("<%=rotate.ClientID %>"); 
         
        rotator.showNext(Telerik.Web.UI.RotatorScrollDirection.Up); 
                 
    } 

Here is the start tag for the rotator:

<telerik:RadRotator ID="rotate" runat="server" Height="185px" RotatorType="FromCode" 
            ScrollDirection="Up,Down" Width="290px" ScrollDuration="250"


Thanks,
Adam

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 14 Oct 2008, 12:03 PM
Hello Adam,

We apologize for the temporary inconvenience - this will be fixed in the update that will appear in the next couple of days. With the current version you can work around the problem by pausing the rotator after moving the frame, e.g.
rotator.pause()

Your points were updated.


Best wishes,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Rotator
Asked by
Adam
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or