Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forcing object to refresh
Message
De
17/09/2007 14:54:51
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Forcing object to refresh
Divers
Thread ID:
01254881
Message ID:
01254881
Vues:
69
I have a master page that every webform uses in my project. The master page contains a label. On certain webforms, I will fill in this label with a weather sticker from wunderground. All of this works fine.

The problem I have is that the weather sticker does not refresh unless I manually refresh my browser. For example, the first time I view a page that contains the weather sticker, the sticker displays the correct time and temperature. However, 30 minutes later, if I navigate back to this page by clicking the links, the sticker still displays the original time and temperature. The only way to refresh this is to refresh the browser.

I have EnableViewState=false on this label in my master page, but that does not help. What can I do to force this label to refresh itself?

Thanks,

Jerry
Répondre
Fil
Voir

Click here to load this message in the networking platform