ASP.NET page lifecycle (.NET 3.0) - for non post back request
- Page Request
- Start
- Initialize
- Load
- Render
- Unload
Reference: ASP.NET page lifecycle (MSDN)
public partial class Index : Page
{
protected override void Construct() { base.Construct(); }
///
/// Page Request
///
public override void ProcessRequest(HttpContext context) { base.ProcessRequest(context); }
///
/// Start
///
protected override void FrameworkInitialize() { base.FrameworkInitialize(); }
protected override void InitializeCulture() { base.InitializeCulture(); }
protected override ControlCollection CreateControlCollection() { return base.CreateControlCollection(); }
protected override System.Collections.Specialized.NameValueCollection DeterminePostBackMode() { return base.DeterminePostBackMode(); }
///
/// Initialize
///
protected override void OnPreInit(EventArgs e) { base.OnPreInit(e); }
protected override void OnInit(EventArgs e) { base.OnInit(e); }
protected override void TrackViewState() { base.TrackViewState(); }
protected override void OnInitComplete(EventArgs e) { base.OnInitComplete(e); }
///
/// Load
///
protected override void OnPreLoad(EventArgs e) { base.OnPreLoad(e); }
protected override void OnLoad(EventArgs e) { base.OnLoad(e); }
protected void Page_Load(object sender, EventArgs e) { }
protected override void OnLoadComplete(EventArgs e) { base.OnLoadComplete(e); }
protected override void EnsureChildControls() { base.EnsureChildControls(); }
protected override void CreateChildControls() { base.CreateChildControls(); }
///
/// Render
///
protected override void OnPreRender(EventArgs e) { base.OnPreRender(e); }
protected override void OnPreRenderComplete(EventArgs e) { base.OnPreRenderComplete(e); }
protected override void OnSaveStateComplete(EventArgs e) { base.OnSaveStateComplete(e); }
protected override HtmlTextWriter CreateHtmlTextWriter(System.IO.TextWriter tw) { return base.CreateHtmlTextWriter(tw); }
public override void RenderControl(HtmlTextWriter writer) { base.RenderControl(writer); }
protected override void Render(HtmlTextWriter writer) { base.Render(writer); }
protected override void RenderChildren(HtmlTextWriter writer) { base.RenderChildren(writer); }
///
/// Unload
///
protected override void OnUnload(EventArgs e) { base.OnUnload(e); }
public override void Dispose() { base.Dispose(); }
}
No comments:
Post a Comment