..:: Chalama's Random Musings ::.. Monday, February 06, 2012
  Search
Register  Login
Location: BlogsRandom Musings    
Posted by: chalama Challa 7/14/2010 9:34 PM

I wanted to refresh my memory about ASP.Net Page lifecycle management….trying to make some notes for myself

Pre Init – dynamically set Master Page or themes, Profile settings, create or recreate dynamic controls – like in dotnetnuke

Init – All the controls in the page have been initialized

InitComplete – After all the initialization

Preload – Perform any processing on a page or control before load
                  Page preload event and then the controls are fired
                 Viewstate and postback data gets initialized from the request object

PageLoad – After pageload each of the onload events for the controls gets fired

LoadComplete – all controls have been loaded by this time and validations done by this event, any thing depending on all the controls to be loaded

PreRender – Page object calls every databind controls, occurs for each control on the page, page Prerender event gets called after the prerender event of all the controls have been called

SaveStateComplete – View state for all the controls on the page is saved

Render method on every single control is called, Render method for the page

Courtesy of video from JoeStagner - Page Lifecycle Events

powered by metaPost
Permalink |  Trackback

Your name:
Title:
Comment:
Add Comment   Cancel 

Copyright 2007 by Chalama.net   Terms Of Use  Privacy Statement