ASP.NET event order during postback or initial request

好久不见. 提交于 2020-01-11 10:14:08

问题


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)


回答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.



来源:https://stackoverflow.com/questions/352222/asp-net-event-order-during-postback-or-initial-request

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!