I'm trying to make a user defined auto-refresh in asp.net , this <meta http-equiv="refresh" content="90" />
works but this
<meta http-equiv="refresh" content="<%=REFRESHINTERVAL%>" />
doesn't work, REFRESHINTERVAL is an public integer.
Asked
Active
Viewed 380 times
1

user620756
- 11
- 1
-
What does it output in the HTML source? – Joshua Drake May 22 '12 at 14:25
-
http://stackoverflow.com/questions/1206507/how-to-refresh-the-page-in-asp-net-let-it-reload-itself-by-code – Internet Engineer May 22 '12 at 14:38
-
I was checking the output and now it works for some reason. – user620756 May 22 '12 at 14:47
1 Answers
1
Can you use ASPNET API like this Response.AppendHeader("Refresh", REFRESHINTERVAL.ToString());
?

rt2800
- 3,045
- 2
- 19
- 26
-
I did try that but now it works with the original code. Thanks anyway. – user620756 May 22 '12 at 14:48