ASP.Net Page life cycle or Silver to his friends

Posted on May 25, 2011

1


A colleague mentioned this the other day and I noticed it wasn’t advertised much on the web so here it is, an easy way to remember the ASP.Net page life cycle.

  • S – Start. (OnPreInit)
  • I – Initialize. (OnInit, InitComplete, OnPreLoad)
  • L – Load. (OnLoad)
  • V – Validation. (Validate)
  • E – Event Handling. (OnLoadComplete, OnPreRender, OnSaveStateComplete)
  • R – Render. (Render)

Oh and … U – Unload. (OnUnload) but of course SILVER sounds nicer.

Advertisements
Posted in: .Net