Announcement

Collapse
No announcement yet.

How to :: ASP.Net :: How to Refresh page automatically

Collapse

Ads on showthread pages

Collapse
This topic is closed.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to :: ASP.Net :: How to Refresh page automatically

    WordPress Hosting on SSD Servers
    Hi!

    Sometimes you need pages of your site set to refresh automatically after a certain number of intervals because new stories have been posted or when the site has been updated.Here is the code to set auto refreshing your page.

    ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "close", "window.opener.location.reload(true);",true);

    To refresh your Web Page Automatically write above code in Page Load Event of your page.

    Thanks.
    Last edited by David@accuwebhosting; 04-27-2012, 09:37 AM.

  • #2
    ASP.Net Hosting starts @ $3.18/Mo.
    Re: How to :: ASP.Net :: How to Refresh page automatically

    F5 is the key used for refreshing automatically in the website.

    Comment

    Working...
    X
    Sign up for a News Letter Click here to sign up