showNext issue

2 posts, 0 answers
  1. Kirk Thomas
    Kirk Thomas avatar
    23 posts
    Member since:
    Aug 2009

    Posted 30 Sep 2010 Link to this post

    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.


  2. Fiko
    Fiko avatar
    1406 posts

    Posted 05 Oct 2010 Link to this post

    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,
    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
Back to Top