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

    Hi,

    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.

    Example:

    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.

    thanks,
    Sharanya

  2. Slav
    Admin
    Slav avatar
    1355 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:
    http://www.telerik.com/help/aspnet-ajax/rotator-client-side-api.html

    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.

    Greetings,
    Slav
    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top