了解页面加载事件? [英] understanding the page load events?

查看:60
本文介绍了了解页面加载事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想了解Web应用程序中的页面加载生命周期。我知道Web应用程序中页面的页面生命周期,但主页,内容页面,自定义控件等之间的事件行为是什么。

解决方案

你可以参考



http://blogs.thesitedoctor.co.uk/tim/2006/06/30/Complete+Lifecycle+Of+An+ASPNet+Page+And+Controls.aspx [ ^ ]



http://weblogs.asp.net/ricardoperes/archive/2009/03/08/asp-net-page-events-lifecycle.aspx [ ^ ]


参考:



ASP.NET页面生命周期 - 基本方法 [ ^ ]

CP中最精彩的文章之一。



这些也是

ASP.NET应用程序和页面生命周期 [ ^ ]

http ://msdn.microsoft.com/en-us/library/ms178472.aspx [ ^ ]


Refer - [MSDN] ASP.NET主页和内容页面中的事件 [ ^ ]。

Quote:

  1. 内容页面 PreInit 事件。

  2. 母版页控件 Init 事件。

  3. 内容控制初始事件。

  4. 母版页初始事件。

  5. 内容页面初始事件。

  6. 内容页面加载事件。

  7. 母版页加载事件。

  8. 母版页控件加载事件。

  9. 内容页面控件加载事件。

  10. 内容页面< b> PreRender 事件。

  11. 母版页 PreRender 事件。

  12. Master页面控件 PreRender 事件。

  13. 内容页面控件 PreRender 事件。

  14. 母版页控件卸载事件。

  15. 续页面控件卸载事件。

  16. 母版页卸载事件。

  17. 内容页面卸载事件。


Hi, i would like to understand the page load life cycle in web application. i know the page life cycle of a page in web application but what would be the behavior of events between master page , content page , custom control etc..

解决方案

You can refer

http://blogs.thesitedoctor.co.uk/tim/2006/06/30/Complete+Lifecycle+Of+An+ASPNet+Page+And+Controls.aspx[^]

http://weblogs.asp.net/ricardoperes/archive/2009/03/08/asp-net-page-events-lifecycle.aspx[^]


Refer:

The ASP.NET Page Lifecycle – A Basic Approach[^]
One of the Finest article in CP .

and these too
ASP.NET Application and Page Life Cycle[^]
http://msdn.microsoft.com/en-us/library/ms178472.aspx[^]


Refer - [MSDN] Events in ASP.NET Master and Content Pages[^].

Quote:

  1. Content page PreInit event.

  2. Master page controls Init event.

  3. Content controls Init event.

  4. Master page Init event.

  5. Content page Init event.

  6. Content page Load event.

  7. Master page Load event.

  8. Master page controls Load event.

  9. Content page controls Load event.

  10. Content page PreRender event.

  11. Master page PreRender event.

  12. Master page controls PreRender event.

  13. Content page controls PreRender event.

  14. Master page controls Unload event.

  15. Content page controls Unload event.

  16. Master page Unload event.

  17. Content page Unload event.


这篇关于了解页面加载事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆