Implement ajax + timer across multiple ascx controls

2 posts, 0 answers
  1. Kevin Cauchi
    Kevin Cauchi avatar
    38 posts
    Member since:
    Dec 2009

    Posted 09 Nov 2011 Link to this post

    Hi there, 

    I am experiencing some difficulties implementing ajax across multiple controls. 

    Here is my scenario:

    • Dashboard ASPX page
    • Timer
    • Statistics ASCX control
    •   Rad chart
    •       Combobox
    • Logs ASCX control
    •   Datagrid
    •     Checkbox
    • etc..

    now... during the timer tick in the aspx page , i want to update ONLY the Rad chart from the statistics control and the datagrid in the logs control.

    I have tried multiple things with the result of either a total page refresh or chart and datagrid not being updated.

    Any help would be appreciated.


  2. Iana Tsolova
    Iana Tsolova avatar
    3388 posts

    Posted 14 Nov 2011 Link to this post

    Hello Kevin,

    To achieve your goal, you can use RadAjaxManager. On Page_Load or Page_PreRender add dynamic ajax settings where the timer updates the desired controls. Then on Timer.Tick call your server-side code for updating the controls.
    Additionally, you can reference the below demos:

    All the best,
    Iana Tsolova
    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
Back to Top