Navigation and current item

3 posts, 0 answers
  1. Eduardo Fukugava
    Eduardo Fukugava avatar
    2 posts
    Member since:
    Jul 2009

    Posted 08 Jul 2009 Link to this post

    Hello all!
    Is there a way to navigate on the rotator to specific items?
    I'm putting five buttons (1,2,3,4,5) on my page and would like each one, on click, to rotate the images to the specific index (1,2,3,4 or 5).

    And how do I know the current item index of the rotator?

    Thanks!
  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 10 Jul 2009 Link to this post

    Hello Eduardo,

    For the time being the RadRotor control does not provide a client-side features that allow the next shown item to be set by its index. We already plan to add this feature in one of the next releases of the control and it is already in our ToDo list.
    For now, you could use InitialItemindex - server property in order to achieve the same result.  I recommend you use AJAX requests in order to avoid page flickering in this scenario. For your convenience I have prepared a sample that shows this approach and attached it to this thread.

    I hope this helps. 

    Best wishes,
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Eduardo Fukugava
    Eduardo Fukugava avatar
    2 posts
    Member since:
    Jul 2009

    Posted 10 Jul 2009 Link to this post

    Thanks!
    I'll sure study your solution.
    By the time being, since my rotator is limited to 5 items, I've created a javascript function that loops through the "pages" of the rotator until it reaches the requested one.
    It's working pretty smoothly. :D
Back to Top