update asp.net page even after transfer to different page

Posted by Priyankgandhi0 under ASP.NET AJAX on 1/26/2012 | Points: 10 | Views : 1217 | Status : [Member] | Replies : 0

i make project in which sensor on the top of dustbin sense the dustbin and on website we can get how much amount of waste is collected now when there is 1 day of mounth the data gone from mounthly table to yearly mounthly table:dustbin_no ,level yearly table:jan,feb,march........all the data gone from one table to apporiate mounth of another table pls help......

i have a asp page in which i write C# code for taking data from one table and update the another table.

now i want to countinously check one level in first level if reaches to throuseld than i want to update another table

so i use ajax timer control

the code is given

<asp:Timer ID="Timer1" runat="server" ontick="Timer1_Tick" Interval="10000" > 
<!--we have to put 24*60*60*1000=86400000 milli-seconds for one day-->


<asp:ScriptManager ID="ScriptManager1" runat="server">


i have write c# code for updating database in timer tick event i is working okk

now if a user transfer from this page to another page than the timer will not work and database will not update

what to do


(No response found.)

Login to post response