| Back to logs list
47297 2009 年 12 月 04 日 20:21 Reading (loading. ..) Comments (0) Category: CLR
ASp.NET 2.0 in Page event execution order
Page execution will be activated according to the following sequence of events:
Page.PreInit
Page.Init
Page.InitComplite
Page.PreLoad
Page.Load
Page.LoadComplete
Page.PreRender
Page.PreRenderComplete
If the page inherit from that one page,
paul smith wallet, such as BasePage: System.Web.UI.Page,
handbags online, in BasePage to do some extensions,
handbags online cheap, such as permission checking,
alexa mulberry, and other pages inherit from BasePage, the BasePage and final activation order of events Page is:
UI.PreInit
Page.PreInit
UI.Init
Page.Init
UI.InitComplite
Page.InitComplite
UI.PreLoad
Page.PreLoad
UI.Load
Page.Load
UI.LoadComplete
Page.LoadComplete
UI.PreRender
Page.PreRender
UI.PreRenderComplete
Page.PreRenderComplete
If you use a MasterPage,
mulberry bags, the MasterPage's events and ContentPage sequence of events activated by the following:
ContentPage.PreInit
Master.Init
ContentPage.Init
ContentPage.InitComplite
ContentPage.PreLoad
ContentPage.Load
Master.Load
ContentPage.LoadComplete
ContentPage.PreRender
Master.PreRender
ContentPage.PreRenderComplete
Furthermore, if ContentPage inheritance BasePage,
paul smith bag, then the execution order of each event will become: