autorefresh aspx

  • Thread starter Thread starter Just D
  • Start date Start date
J

Just D

Hi,

I know how can I cache the ASPX page or any control on this page.

But how can I refresh ASPX page automatically every xx seconds? Any script?
I need my application to go to the server and reload automatically some data
from the database. I can place some code to On_LOad, but I suppose that
there is more official and easy way to do the same.

Thanks,
Just D.
 
Hi,
Put following line inside the <head></head> section of the html view of
your aspx page

<meta http-equiv="refresh" content="5">

The above line refreshs the page every 5 seconds, you can set the
interval by changing the value of content.


Regards
benny
 
Back
Top