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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章