Add Item to Rotator using Client API

6 posts, 0 answers
  1. Samuel
    Samuel avatar
    24 posts
    Member since:
    Feb 2009

    Posted 27 Apr 2009 Link to this post

    How do you add an item to the rotator client side?
    There is a get_items method, but I can't figure out how to add a new item to it.


  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 28 Apr 2009 Link to this post

    Hello Samuel,

    By design the RadRotator's items are created only on the server, and the control does not offer client-side API for this. As you mentioned, you can get the items only on the client-side (oRotator.get_items()), but you are not allowed to add items by JavaScript.

    Kind regards,
    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. maha
    maha avatar
    44 posts
    Member since:
    Jun 2010

    Posted 22 Jun 2010 Link to this post

    Did u add that feature to the new version?
  5. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 22 Jun 2010 Link to this post

    Looking over the client-side API page there doesn't seem like there is a method for adding new items via the client-side. The Rotator still needs to generate all of its items on the server-side, so it would seem that adding items via the client-side would be very complicated.
  6. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 25 Jun 2010 Link to this post

    Hello Schlurk,

    Adding items client-side feature is in our ToDo list and we will do our best to implement it for the upcoming Q2 2010 release, scheduled for the middle of July.  

    Sincerely yours,
    Fiko
    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
  7. maha
    maha avatar
    44 posts
    Member since:
    Jun 2010

    Posted 28 Jun 2010 Link to this post

    i was able to do that by using RadXmlHttpPanel and putting the rotator inside it.By doing that i was able to load items into rotator without reloading the page
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017