Hello,
In case you don't want to load on demand the items of the RadRotator via a WebService, I would suggest using the control's client-side method
addRotatorItem, which will allow you to create and add new items to the RadRotator's client-side item collection. The example below demonstrates how to utilize the mentioned method in order to add a new item at the end of the collection:
You can use the RadRotator's client events
OnClientItemShowing and
OnClientItemShown to implement the loading of the new items at the desired moment during the sliding of the control.
If your scenario includes removing the items of the RadRotator on the client, the following function will help you achieve this:
Note that in the examples above I have referenced a rotator control with ID, set to
RadRotator1, which may be different in your case.
I hope the provided information will help you incorporate the desired feature into your actual project.
Regards,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their
blog feed now