哪个事件最先发生 [英] which event is first raise

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

问题描述

在ASP.NET页中

首先引发哪个事件.

Init()Page_Load()?

In ASP.NET page

Which event is raised first.

Init() or Page_Load() ?

推荐答案

Init().
请参阅 http://msdn.microsoft.com/en-us/library/ms178472.aspx [ ^ ].
Init().
See http://msdn.microsoft.com/en-us/library/ms178472.aspx[^].




Init()首先加载.要了解asp.net页面的生命周期,我认为这2个帖子是最好的,
ASP.NET应用程序和页面生命周期 [ http://blog.krisvandermast.com/content/binary/ASP.NET- 2.0-life-cycle.png [ ^ ]
您将对应用程序和页面生命周期有个清晰的认识
Hi,

Init() loads first. To know about asp.net page life cycle, i consider this 2 posts are best,
ASP.NET Application and Page Life Cycle[^]
http://blog.krisvandermast.com/content/binary/ASP.NET-2.0-life-cycle.png[^]
You will get clear idea about application and page Life Cycle




首先执行init()事件,

以下链接用于概述页面生命周期阶段和事件


http://msdn.microsoft.com/zh-cn/library/ms178472.aspx
Hi,

Init() event perform first,

below link use to overview page life cycle stage and event


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


这篇关于哪个事件最先发生的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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