启动程序是事件发生的顺序

相信很多人都为不知道应用程序启动的时候事件发生的顺序,我也一样,有网友提出了,我也只是很模糊的回答了,但请看tianshaguxing7358(帅的惊动党中央) ”的答复,相信会给有需要的网友很大的帮助。

CSDN原贴连接http://expert.csdn.net/Expert/topic/2929/2929901.xml?temp=.8934137

I hope this makes sense added "calls"/"finishes" and also found out where it parsed the properties coded inside the actual tag in the aspx Page.
Page calls Construct
Page finishes Construct
Page calls New
Page finishes New
Page calls DeterminePostBackMode
Page finishes DeterminePostBackMode
Page calls AddParsedSubObject
Page calls CreateControlCollection
Page finishes CreateControlCollection
Page calls AddedControl
Page finishes AddedControl
Page finishes AddParsedSubObject
ChildControl calls Construct
ChildControl finishes Construct
ChildControl calls New
ChildControl finishes New
Page calls AddParsedSubObject
Page calls AddedControl
Page finishes AddedControl
Page finishes AddParsedSubObject
Page calls AddParsedSubObject
Page calls AddedControl
Page finishes AddedControl
Page finishes AddParsedSubObject
ChildControl calls OnInit
ChildControl raises Init
ChildControl finishes OnInit
ChildControl calls TrackViewState
ChildControl finishes TrackViewState
Page calls OnInit
Page raises Init
Page finishes OnInit
Page calls TrackViewState
Page finishes TrackViewState
Page calls OnLoad
Page raises Load
Page finishes OnLoad
ChildControl calls OnLoad
ChildControl raises Load
ChildControl finishes OnLoad
Page calls EnsureChildControls
Page calls CreateChildControls
Page finishes CreateChildControls
Page finishes EnsureChildControls
Page calls OnPreRender
Page raises PreRender
Page finishes OnPreRender
ChildControl calls EnsureChildControls
ChildControl calls CreateChildControls
ChildControl finishes CreateChildControls
ChildControl finishes EnsureChildControls
ChildControl calls OnPreRender
ChildControl raises PreRender
ChildControl finishes OnPreRender
Page calls SaveViewState
Page finishes SaveViewState
ChildControl calls SaveViewState
ChildControl finishes SaveViewState
Page calls SavePageStateToPersistenceMedium
Page finishes SavePageStateToPersistenceMedium
Page calls CreateHtmlTextWriter
Page finishes CreateHtmlTextWriter
Page calls Render
Page finishes RenderChildren
ChildControl calls Render
ChildControl calls RenderChildren
ChildControl finishes RenderChildren
ChildControl finishes Render
Page finishes RenderChildren
Page finishes Render
ChildControl calls OnUnload
ChildControl raises Unload
ChildControl finishes OnUnload
Page calls OnUnload
Page raises Unload
Page finishes OnUnload
posted @ 2004-04-10 08:16  无之无  阅读(736)  评论(0编辑  收藏  举报