Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a page (SearchProgress.aspx) in this page having aspx timer control. In timer tick event process some task and redirect to another page(SearchReasult.aspx).

After redirecting SearchReasult.aspx apge, again SearchProgress.aspx page is loaded and timer control is invoked.

I am using ASP.Net 3.5.

Please tell me how I resolve this issue?
Posted
Comments
F-ES Sitecore 8-Sep-15 9:39am    
Add something to the querystring when you do the redirect on timer, like "SearchReasult.aspx?timer=no", and only enable the timer if Request.QueryString("timer") returns empty.
ZurdoDev 8-Sep-15 10:09am    
I'd suggest posting as a solution.

1 solution

Add something to the querystring when you do the redirect on timer, like "SearchReasult.aspx?timer=no", and only enable the timer if Request.QueryString("timer") returns empty.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900