Analysis of the implementation process of Page class in ASP.NET

xiaoxiao2021-03-06  14

Page

Calls Construct

Page

Finishes construct

Page

Calls New

Page

Finishes new

Page

Calls determinepostbackmode

Page

Finishes determinePostbackMode

Page

Calls AddParsedSubObject

Page

Calls CreateControlcoltic

Page

Finishes CreateControlcoltic

Page

Calls AddControl

Page

Finishes AddControl

Page

Finishes AddParsedSubObject

ChildControl

Calls Construct

ChildControl

Finishes construct

ChildControl

Calls New

ChildControl

Finishes new

* -

Page Parses Templated Properties Here and Calls Set for Those Properties on The

ChildControl (E.g.,

Firstname = "adam" Lastname = "Wayne" DisplayBothnames = "true" />)

Page

Calls AddParsedSubObject

Page

Calls AddControl

Page

Finishes AddControl

Page

Finishes AddParsedSubObject

Page

Calls AddParsedSubObject

Page

Calls AddControl

Page

Finishes AddControl

Page

Finishes AddParsedSubObject

ChildControl

Calls OnInit

ChildControl

Raise INIT

ChildControl

Finishes oninit

ChildControl

Calls TrackViewState

ChildControl

Finishes TRACKVIEWSTATE

Page

Calls OnInit

Page

Raise INIT

Page

Finishes oninit

Page

Calls TrackViewState

Page

Finishes TRACKVIEWSTATE

Page

Calls Online

Page

Raises load

Page

Finishes Online

ChildControl

Calls Online

ChildControl

Raises load

ChildControl

Finishes Online

Page

Calls EnsuneChildControls

Page

Calls CreateChildControls

Page

Finishes CreateChildControls

Page

Finishes EnsuneChildControls

Page

Calls onprender

Page

Raise Prerender

Page

Finishes onprender

ChildControl

Calls EnsuneChildControls

ChildControl

Calls CreateChildControls

ChildControl

Finishes CreateChildControls

ChildControl

Finishes EnsuneChildControlschildControl

Calls onprender

ChildControl

Raise Prerender

ChildControl

Finishes onprender

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

转载请注明原文地址:https://www.9cbs.com/read-48793.html

New Post(0)