Page refresh

Discussion in 'ASP.NET / ASP.NET Core' started by sdangelod, Jan 22, 2008.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I have a page on my site that reads database info every minute as a refresh on the page. Is there another way to accomplish the same task from the server side?
     
  2. The client still has to contact the server to get the updated information ,irrespective of how the web server gets the information from the sql server.You can use an AJAX based UI to avoid a page refresh every time when your site contacts the web server.Also, you may want to look into the SQL dependency feature of MS SQL 2005 here http://community.discountasp.net/default.aspx?f=24&m=9653 if you intend to minimize periodic queries to the database on each postback.

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. there is an asp.net control called a timer which will do what you want. if you only want a partial page refresh put it inside an asp.net update panel and set async to true in you page decarative.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page