Live data not populating

2 posts, 0 answers
  1. Joby
    Joby avatar
    25 posts
    Member since:
    Nov 2010

    Posted 11 Apr 2012 Link to this post

    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?

  2. Slav
    Admin
    Slav avatar
    1355 posts

    Posted 12 Apr 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top