Popular Posts
Build an OpenVPN server on android device Preparation An android device, in this case, Sony xperia Z is used Root permission required Linux Deploy for deploy i... Enable SSL connection for Jsoup import org.jsoup.Connection; import org.jsoup.Jsoup; import javax.net.ssl.*; import java.io.IOException; import java.security.KeyManagement... Change the AppDomain's Base Directory and Environment Directory // Update AppDomain's Base Directory string root_path = "c:\\temp\\"; AppDomain.CurrentDomain.SetData("APPBASE", roo...
Stats
Complete Lifecycle of an ASP.Net page and controls

Page Master Page Aspx.page User Control Custom Web Control

Complete Trace
  Category Message
  Page ResolveAdapter()
  Page DeterminePostBackMode()
  aspx.page Begin PreInit
  Page Start OnPreInit(EventArgs e)
  Page End OnPreInit(EventArgs e)
  MasterPage Start Construct()
  MasterPage End Construct()
  Page HasControls()
  Page Start RemovedControl(Control control)
  Page End RemovedControl(Control control)
  MasterPage Start FrameworkInitialize()
  MasterPage End FrameworkInitialize()
  MasterPage Start AddParsedSubObject(object obj)
  MasterPage CreateControlCollection()
  MasterPage Start AddedControl(Control control, int index)
  MasterPage End AddedControl(Control control, int index)
  MasterPage End AddParsedSubObject(object obj)
  MasterPage Start AddParsedSubObject(object obj)
  MasterPage Start AddedControl(Control control, int index)
  Page ResolveAdapter()
  MasterPage End AddedControl(Control control, int index)
  MasterPage End AddParsedSubObject(object obj)
  MasterPage Start AddParsedSubObject(object obj)
  MasterPage Start AddedControl(Control control, int index)
  MasterPage End AddedControl(Control control, int index)
  MasterPage End AddParsedSubObject(object obj)
  UserControl Start Construct()
  UserControl End Construct()
  UserControl Start FrameworkInitialize()
  UserControl End FrameworkInitialize()
  CustomWebControl Constructor Test()
  CustomWebControl Start ApplyStyleSheetSkin(Page page)
  CustomWebControl End ApplyStyleSheetSkin(Page page)
  MasterPage Start AddParsedSubObject(object obj)
  MasterPage Start AddedControl(Control control, int index)
  MasterPage End AddedControl(Control control, int index)
  MasterPage End AddParsedSubObject(object obj)
  MasterPage Start AddParsedSubObject(object obj)
  MasterPage Start AddedControl(Control control, int index)
  MasterPage End AddedControl(Control control, int index)
  MasterPage End AddParsedSubObject(object obj)
  Page Start AddedControl(Control control, int index)
  Page End AddedControl(Control control, int index)
  aspx.page End PreInit
  aspx.page Begin Init
  Page ResolveAdapter()
  MasterPage ResolveAdapter()
  UserControl ResolveAdapter()
  UserControl Start OnInit(EventArgs e)
  UserControl End OnInit(EventArgs e)
  UserControl Start TrackViewState()
  UserControl End TrackViewState()
  CustomWebControl ResolveAdapter()
  CustomWebControl Start OnInit(EventArgs e)
  CustomWebControl End OnInit(EventArgs e)
  CustomWebControl Start TrackViewState()
  CustomWebControl End TrackViewState()
  MasterPage Start OnInit(EventArgs e)
  MasterPage End OnInit(EventArgs e)
  MasterPage Start TrackViewState()
  MasterPage End TrackViewState()
  Page Start OnInit(EventArgs e)
  Page End OnInit(EventArgs e)
  Page Start TrackViewState()
  Page End TrackViewState()
  aspx.page End Init
  aspx.page Begin InitComplete
  Page Start OnInitComplete(EventArgs e)
  Page End OnInitComplete(EventArgs e)
  aspx.page End InitComplete
  aspx.page Begin PreLoad
  Page Start OnPreLoad(EventArgs e)
  Page End OnPreLoad(EventArgs e)
  aspx.page End PreLoad
  aspx.page Begin Load
  Page Start OnLoad(EventArgs e)
  Page Page_Load(object sender, EventArgs e)
  Page End OnLoad(EventArgs e)
  MasterPage Start OnLoad(EventArgs e)
  MasterPage Page_Load(object sender, EventArgs e)
  MasterPage End OnLoad(EventArgs e)
  UserControl Start OnLoad(EventArgs e)
  UserControl Page_Load(object sender, EventArgs e)
  UserControl End OnLoad(EventArgs e)
  CustomWebControl Start OnLoad(EventArgs e)
  CustomWebControl End OnLoad(EventArgs e)
  aspx.page End Load
  aspx.page Begin LoadComplete
  Page Start OnLoadComplete(EventArgs e)
  Page End OnLoadComplete(EventArgs e)
  aspx.page End LoadComplete
  aspx.page Begin PreRender
  Page Start EnsureChildControls()
  Page ResolveAdapter()
  Page Start CreateChildControls()
  Page End CreateChildControls()
  Page End EnsureChildControls()
  Page Start OnPreRender(EventArgs e)
  Page End OnPreRender(EventArgs e)
  MasterPage Start EnsureChildControls()
  MasterPage ResolveAdapter()
  MasterPage Start CreateChildControls()
  MasterPage End CreateChildControls()
  MasterPage End EnsureChildControls()
  MasterPage Start OnPreRender(EventArgs e)
  MasterPage End OnPreRender(EventArgs e)
  UserControl Start EnsureChildControls()
  UserControl ResolveAdapter()
  UserControl Start CreateChildControls()
  UserControl End CreateChildControls()
  UserControl End EnsureChildControls()
  UserControl Start OnPreRender(EventArgs e)
  UserControl End OnPreRender(EventArgs e)
  CustomWebControl Start EnsureChildControls()
  CustomWebControl ResolveAdapter()
  CustomWebControl Start CreateChildControls()
  CustomWebControl End CreateChildControls()
  CustomWebControl End EnsureChildControls()
  CustomWebControl Start OnPreRender(EventArgs e)
  CustomWebControl End OnPreRender(EventArgs e)
  aspx.page End PreRender
  aspx.page Begin PreRenderComplete
  Page Start OnPreRenderComplete(EventArgs e)
  Page End OnPreRenderComplete(EventArgs e)
  aspx.page End PreRenderComplete
  Page SaveViewState()
  MasterPage SaveViewState()
  UserControl SaveViewState()
  CustomWebControl SaveViewState()
  aspx.page Begin SaveState
  Page SaveViewState()
  Page HasControls()
  MasterPage SaveViewState()
  MasterPage HasControls()
  UserControl SaveViewState()
  UserControl HasControls()
  CustomWebControl SaveViewState()
  CustomWebControl HasControls()
  Page Start SavePageStateToPersistenceMedium(object state)
  Page ResolveAdapter()
  Page End SavePageStateToPersistenceMedium(object state)
  aspx.page End SaveState
  aspx.page Begin SaveStateComplete
  Page Start OnSaveStateComplete(EventArgs e)
  Page End OnSaveStateComplete(EventArgs e)
  aspx.page End SaveStateComplete
  aspx.page Begin Render
  Page CreateHtmlTextWriter(System.IO.TextWriter tw)
  Page Start RenderControl(HtmlTextWriter writer)
  Page Start Render(HtmlTextWriter writer)
  Page Start RenderChildren(HtmlTextWriter writer)
  MasterPage Start RenderControl(HtmlTextWriter writer)
  MasterPage Start Render(HtmlTextWriter writer)
  MasterPage Start RenderChildren(HtmlTextWriter writer)
  UserControl Start RenderControl(HtmlTextWriter writer)
  UserControl Start Render(HtmlTextWriter writer)
  UserControl Start RenderChildren(HtmlTextWriter writer)
  UserControl End RenderChildren(HtmlTextWriter writer)
  UserControl End Render(HtmlTextWriter writer)
  UserControl End RenderControl(HtmlTextWriter writer)
  CustomWebControl Start RenderControl(HtmlTextWriter writer)
  CustomWebControl Start Render(HtmlTextWriter writer)
  CustomWebControl Start RenderBeginTag(HtmlTextWriter writer)
  CustomWebControl Start AddAttributesToRender(HtmlTextWriter writer)
  CustomWebControl End AddAttributesToRender(HtmlTextWriter writer)
  CustomWebControl End RenderBeginTag(HtmlTextWriter writer)
  CustomWebControl Start RenderContents(HtmlTextWriter writer)
  CustomWebControl Start RenderChildren(HtmlTextWriter writer)
  CustomWebControl End RenderChildren(HtmlTextWriter writer)
  CustomWebControl End RenderContents(HtmlTextWriter writer)
  CustomWebControl Start RenderEndTag(HtmlTextWriter writer)
  CustomWebControl End RenderEndTag(HtmlTextWriter writer)
  CustomWebControl End Render(HtmlTextWriter writer)
  CustomWebControl End RenderControl(HtmlTextWriter writer)
  MasterPage End RenderChildren(HtmlTextWriter writer)
  MasterPage End Render(HtmlTextWriter writer)
  MasterPage End RenderControl(HtmlTextWriter writer)
  Page End RenderChildren(HtmlTextWriter writer)
  Page End Render(HtmlTextWriter writer)
  Page End RenderControl(HtmlTextWriter writer)
  aspx.page End Render
  Page CreateHtmlTextWriter(System.IO.TextWriter tw)

reference : Complete Lifecycle of an ASP.Net page and controls