微雨杏花村

 

ASP.NET Page Life Cycle

原文

http://www.codeproject.com/KB/aspnet/Page_Life_Cycle_Explain.aspx 

 

 

Stage Events/Method
Initialization of the page Page_Init
Loading of the View State LoadViewState
Processing of the Postback data LoadPostData
Loading of Page Page_Load
Notification of PostBack RaisePostDataChangedEvent
Handling of PostBack Event RaisePostBackEvent
Pre Rendering of Page Page_PreRender
Saving of view state SaveViewState
Rendering of Page Page_Render
Unloading of the Page Page_UnLoad

 

 

1.PreInit

这个事件是页面生命周期的开始。

 

2.Init

Viewstate在此事件中还不可用

Themes 在此事件中请求。

 

 

3.InitComplete

 

4.PreLoad

 

5.Load

6.Control Events

7.Load Complete

8.PreRender

9.SaveStateComplete

10.Render

11. Unload

 


 

 

 

 

 

 

 


 

 

 

posted on 2011-07-21 14:51 微雨杏花村 阅读(22) 评论(0) 编辑 收藏

导航

统计

公告

昵称:微雨杏花村
园龄:4年11个月
粉丝:2
关注:1

搜索

 
 

常用链接

随笔档案

blog

最新评论

阅读排行榜

评论排行榜

推荐排行榜