asynchronous loading of items in radRotator

2 posts, 0 answers
  1. sharanya
    sharanya avatar
    13 posts
    Member since:
    Jun 2010

    Posted 28 Jun 2011 Link to this post


    it is possible to trigger the asynchronous loading of items in radRotator in client side javascript when a swipe occurs so that there is always 3 Images pre-loaded to the left or the right.


    On first load : Image 0, 1 and 2 are loaded.

    On moving right to image 1 ,  trigger the asynchronous retrieval of position 3

    Please let me know how I can achieve this.


  2. Slav
    Slav avatar
    1359 posts

    Posted 28 Jun 2011 Link to this post

    Hi Sharanya,

    You can use the addRotatorItem method of RadRotator client-side object to populate the items collection. Keep in mind that the new item will not exist in the rotator's items collection on the server. You can find more information about this method in the documentation article below:

    For your convenience I added a sample project, demonstrating preloading of RadRotator's items on its client-side event OnClientItemShowing via the method mentioned above.

    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