APS.NET page lifecycle

Events happened in the page lifecycle is listed below(flow from top to buttom):

  1. PreInit Event
  2. Theme initialized, master pages applied, control skins applied
  3. Init Event
  4. InitComplete Event
  5. create child controls and control/view state loaded(if isPostBack)
  6. Preload Event
  7. Load Event
  8. server-side events fired(if isPostBack)
  9. LoadComplete Event
  10. create child controls(if !isPostBack)
  11. PreRender Event
  12. PreRenderComplete Event
  13. Control/View state saved
  14. save state complete
  15. Render Event
  16. Unload Event

你可能感兴趣的:(.net)