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

How to update a control on server-side condition using Timer?

1 Answer 128 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
tomekm
Top achievements
Rank 1
tomekm asked on 10 Mar 2009, 12:47 PM

I would like to check every few seconds whether data in database changed and if so, update RadGrid, otherwise do nothing.

I use asp:Timer to make request every few seconds and in code-behind I am checking for databse condition. I would like to do ajax update of grid if condition is satisfied?

Has anyone achieved that?

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 12 Mar 2009, 04:19 PM
Hi Rychu,

Please check out this online demo which resembles your scenario. There the grid is being updated on each timer Tick event, and you could update it as per your conditions to achieve your goal.

Give it a try and let me know if you need further directions/help.

Kind regards,
Iana
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.
Tags
Ajax
Asked by
tomekm
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or