I have a default.aspx page that needs to be refresh every 10 sec.
My solution so far is a javascript function, but it only works in Firefox and not IE.
I'm looking for a way to handle the refresh mecanism in the default.aspx.cs page instead, with some sort of Timer.
Any good simple sugestions/hints or solutions out there that can lead me in the right direction?
Just use a <meta>
tag in your page header to indicate automatic refresh:
<meta http-equiv="refresh" content="10" />
You should only use a JavaScript refresh approach if you need to pass some information (that may have changed) back to the page on the server.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With