Refreshing Page Automatically

Last post 07-06-2009 12:32 AM by Pawan_Mishra. 5 replies.

Sort Posts:

  • Refreshing Page Automatically

    07-03-2009, 1:32 AM

     Dear Friends,

    I have seen websites specially the cricket website which do the autorefresh and shows the latest data.

    Can anyone suggest me how to work  it out.

    Thanks in advance

    Regards

    Chandrakant

  • Re: Refreshing Page Automatically

    07-03-2009, 3:32 AM
    Answer
    • All-Star
      25,625 point All-Star
    • qwe123kids
    • Member since 03-27-2008, 5:49 AM
    • Mumbai
    • Posts 4,381

    Hi,

    U may use Meta Tag in Html for refesh of page..

    http://webdesign.about.com/od/metataglibraries/a/aa080300a.htm

    the above sample shows That..

    Or

    U may also use Timer control In Ajax.net for refeshing Page With update Panle on page..

    http://www.asp.net/AJAX/Documentation/Live/tutorials/TimerControlTutorials.aspx

    Or

    May Also Use javascript Timer for refresh

    http://www.elated.com/articles/javascript-timers-with-settimeout-and-setinterval/

    Thanks
    Avinash Tiwari

    Remember to click “Mark as Answer” on the post, if it helps you.

    MY Blog

    Hacking Inside .net exe
  • Re: Refreshing Page Automatically

    07-05-2009, 10:49 PM
    Answer

     Use Timer control that performs postbacks at defined intervals

    http://www.asp.net/AJAX/Documentation/Live/overview/UsingTimerControlTutorial.aspx

    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
  • Re: Refreshing Page Automatically

    07-05-2009, 11:19 PM
    Answer
    • All-Star
      59,893 point All-Star
    • mudassarkhan
    • Member since 02-28-2008, 5:28 AM
    • Mumbai, India
    • Posts 10,551

     Refer my articles

    1. Refresh complete page automatically at regular intervals

    http://www.aspsnippets.com/post/2009/06/10/Reload-Refresh-and-Redirect-Pages-using-Meta-Tags-in-ASPNet.aspx

    2. Refresh part of page automatically at regular intervals without reloading complete page

    http://www.aspsnippets.com/post/2009/07/01/Refresh-or-Reload-part-of-page-periodically-at-regular-intervals-in-ASPNet.aspx

  • Re: Refreshing Page Automatically

    07-06-2009, 12:26 AM
    • Star
      8,677 point Star
    • Pawan_Mishra
    • Member since 03-13-2008, 7:37 AM
    • Bangalore
    • Posts 1,266

    Hi

    Page auto refresh is fine but do keep in mind its too much of an overhead for the server when you do not have fresh data which needs to be shown to the end user. Whats the scenario for which you want to go for auto page refresh ? If you can give more details about that then probably some efficient workaround can be provided . Problem in using meta tag and timer control is that it will refresh page at specified times and if the underlying data hasn't changed then this auto refresh option will soon become an overhead for the server . One real good way of implementing this is given by Vince in the following thread :- http://forums.asp.net/p/1364887/2837035.aspx#2837035

    Regards
    Pawan Mishra

    Too many eyes doesn't make a good code !!!

    .Net 360°
  • Re: Refreshing Page Automatically

    07-06-2009, 12:32 AM
    • Star
      8,677 point Star
    • Pawan_Mishra
    • Member since 03-13-2008, 7:37 AM
    • Bangalore
    • Posts 1,266

    Hi

    Page auto refresh is fine but do keep in mind its too much of an overhead for the server when you do not have fresh data which needs to be shown to the end user. Whats the scenario for which you want to go for auto page refresh ? If you can give more details about that then probably some efficient workaround can be provided . Problem in using meta tag and timer control is that it will refresh page at specified times and if the underlying data hasn't changed then this auto refresh option will soon become an overhead for the server . One real good way of implementing this is given by Vince in the following thread :- http://forums.asp.net/p/1364887/2837035.aspx#2837035

    Regards
    Pawan Mishra

    Too many eyes doesn't make a good code !!!

    .Net 360°
Page 1 of 1 (6 items)