This is a migrated thread and some comments may be shown as answers.

Add Item to Rotator using Client API

5 Answers 58 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Samuel
Top achievements
Rank 1
Samuel asked on 27 Apr 2009, 04:36 PM
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.


5 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 28 Apr 2009, 03:01 PM
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.
0
maha
Top achievements
Rank 1
answered on 22 Jun 2010, 07:37 AM
Did u add that feature to the new version?
0
Schlurk
Top achievements
Rank 2
answered on 22 Jun 2010, 05:20 PM
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.
0
Fiko
Telerik team
answered on 25 Jun 2010, 09:44 AM
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
0
maha
Top achievements
Rank 1
answered on 28 Jun 2010, 06:49 AM
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
Tags
Rotator
Asked by
Samuel
Top achievements
Rank 1
Answers by
Fiko
Telerik team
maha
Top achievements
Rank 1
Schlurk
Top achievements
Rank 2
Share this question
or