How to refresh Page automatically in a interval of 15 seconds?

 Posted by vishalneeraj-24503 on 12/18/2013 | Category: ASP.NET Interview questions | Views: 5603 | Points: 40
Answer:

Automatic web page refresh can be implemented in an ASP.NET web-page by adding some HTML code in the header section.

We can simply add following line of code in the Header section to enable auto refresh in an ASP.NET web page.

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


Where 15 refers to the number of seconds it will take before refreshing the page.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response