ASP.NET event order during postback or initial request

Could I get some confirmations from the community that I’m not going mad, and that the life cycle of a page during post back is in deed in a different order to when the page is initally requested.

If this is the case pointers towards references/articles outlining the order would be greatly appreciated.

(A postback equivalent of the page life cycle image would be great)

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

The behaviour is slightly different but the order is the same. In this respect “Postback” is essentially a state flag on the request.

http://msdn.microsoft.com/en-us/library/ms178472.aspx

(nice image btw)

edit: thinking about it, perhaps it would be helpful to outline your problem? Mentioning postback makes me think it’s about databinding perhaps? The article should be helpful though.


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x