Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unload event after HTTP?
Message
From
07/11/2003 13:30:47
Vicki Miles
Vlm International, Inc.
Mishawaka, Indiana, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Unload event after HTTP?
Miscellaneous
Thread ID:
00847744
Message ID:
00847744
Views:
55
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?
Next
Reply
Map
View

Click here to load this message in the networking platform