Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unload event after HTTP?
Message
De
07/11/2003 13:30:47
Vicki Miles
Vlm International, Inc.
Mishawaka, Indiana, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Unload event after HTTP?
Divers
Thread ID:
00847744
Message ID:
00847744
Vues:
56
It looks like unload events (eg page_Unload) within the code-behind of a web form are performed after the html stream back to the browser has already been created. Is this true?

What we're trying to do is set a label.text at one spot (ie, the page unload with all messages collected during the hit. We can set a break-point and watch the contents of the label.text change during the unload events, however the resulting web page as displayed at the browser will always show the contents of the label.txt prior to the unload event. So although the unload event is changing the label.text object, the browser isn't reflecting these changes.

This forces us to set the label.text at the end of every entry method of the code-behind instead of one central place.

Is there another way of accomplishing this?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform