RadRotator: CoverFlow

2 posts, 0 answers
  1. Todd
    Todd avatar
    25 posts
    Member since:
    Mar 2011

    Posted 04 Aug 2011 Link to this post

    I am using the radrotator control to move through a static group of images.  I have defined them each as items and have set the rotatortype to coverflow.  I like the effect as it moves through each image in turn, but when it gets to the last image I'm not sure how to make it start over at the beginning.  Is this possible?

  2. Niko
    Niko avatar
    404 posts

    Posted 05 Aug 2011 Link to this post

    Hi Todd,

    The nature of the CoverFlow is such that items are scrolled in either direction and when reaching any of the edges the scrolling should stop there. This is the essence of any coverflow control.
    Nevertheless if you wish to enrich the functionality of the coverflow rotator, then you can use the client-side API to scroll directly to the item of your choice through the set_currentItemIndex method, i.e. the first item:
    $find("exampleRotator").set_currentItemIndex(0, true)
    For more information on the client-side API here is a link to a help article - http://www.telerik.com/help/aspnet-ajax/rotator-client-side-api.html.
    Still, using this method, the control will scroll through all the other items until it reaches the first one.

    Hope this helps.

    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.

Back to Top