Click here to Skip to main content
11,492,907 members (59,451 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
i want refresh page automatically like cricket score site
Posted 21-Aug-10 3:55am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi Aswin,

You have to use ASP.Net AJAX to implement the auto refresh of some portion without loading the whole page. This can be done using the UpdatePanel.
  Permalink  
Comments
Christian Graus at 28-Aug-10 1:59am
   
Not true, but anyhow....
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Have a look at these:
Timer control[^]
Timer Control Overview[^]

These should help you out.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

use javascript SetTimeout Function
Set Refresh time in milliseconds as you want.

Thanks,
Hiren Solanki
  Permalink  
Comments
Christian Graus at 27-Aug-10 7:10am
   
Why are you trawling posts from 5 days ago that have already been answered, and adding new answers to them that are not substantially different from the answers given ?
Dalek Dave at 27-Aug-10 7:21am
   
CG, Rep Points!

I mean we all go for them, but not 5 day old ones.
Hiren Solanki at 27-Aug-10 7:41am
   
not atall Dalek,
Thanks Christian Graus
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

It's another option.......If you want refresh whole page, you can try META tag in HTML. Meta Refresh Tag -
Redirecting Your Web Pages
[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 5

u can use the timer for refresh . and ajax update panel for improving refresh.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 419
1 Maciej Los 286
2 F-ES Sitecore 224
3 KarstenK 210
4 CPallini 208
0 Sergey Alexandrovich Kryukov 10,132
1 OriginalGriff 8,630
2 Sascha Lefèvre 3,624
3 Maciej Los 3,392
4 Richard Deeming 2,500


Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 28 Aug 2010
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100