General information
Title:
Unload event after HTTP?
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only