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

Live data not populating

1 Answer 51 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Joby
Top achievements
Rank 1
Joby asked on 11 Apr 2012, 08:43 AM
Hi,
I am trying to do live updation based the following demo.
https://demos.telerik.com/aspnet-ajax/rotator/examples/livexml/defaultcs.aspx.But after updating the xml how the radrotator showing the updated value?.I am getting the updated value.How it is possible?

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 12 Apr 2012, 04:38 PM
Hello Joby,

After the RadRotator is initially data bound, changing the XML file that populates the control will not affect its items. You need to rebind the rotator control in order to display the new data. Note that doing so will restart the scrolling of the items.

Another approach that will allow you to modify the items dynamically is to use the client-side API of RadRotator and more specifically the methods, listed in the online demo Rotator / Client-side Items Management. Via these methods you can remove items with outdated information and insert new ones. The data for the items can be retrieved via Ajax requests. 

Kind 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.
Tags
Rotator
Asked by
Joby
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or