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

showNext issue

1 Answer 83 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Kirk Thomas
Top achievements
Rank 1
Kirk Thomas asked on 30 Sep 2010, 09:40 PM
I have a rotator that has 3 items.  I use buttons outside of the rotator to call the showNext function.  The first time I click through the set of items the third item displays correctly but when I debug in javascript the item is listed as the 2nd item in the set.  But if I click through all the items again everything works fine.  This is an issue because when the buttons that navigate the rotator are clicked I use the index of the current item to update where the user is at in the rotator.  Any clue what is going on.  I hope this makes sense.

Thanks,

Kirk

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 05 Oct 2010, 12:17 PM
Hi Kirk,

I recommend you to use the RadRotator's OnClientItemShown event in order to get the currently shown item. You can check this online demo for more information. The same event is used in the demo in order to update the state of the pager.

Sincerely yours,
Fiko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Rotator
Asked by
Kirk Thomas
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or