惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

U
Unit 42
Help Net Security
Help Net Security
The Hacker News
The Hacker News
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
G
GRAHAM CLULEY
Simon Willison's Weblog
Simon Willison's Weblog
V
Vulnerabilities – Threatpost
A
Arctic Wolf
T
Tor Project blog
Jina AI
Jina AI
C
CXSECURITY Database RSS Feed - CXSecurity.com
C
Cyber Attacks, Cyber Crime and Cyber Security
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Spread Privacy
Spread Privacy
Security Latest
Security Latest
Latest news
Latest news
Last Week in AI
Last Week in AI
博客园 - 司徒正美
P
Privacy International News Feed
T
Tenable Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
腾讯CDC
博客园 - 聂微东
Scott Helme
Scott Helme
爱范儿
爱范儿
P
Proofpoint News Feed
C
CERT Recently Published Vulnerability Notes
I
Intezer
博客园 - Franky
酷 壳 – CoolShell
酷 壳 – CoolShell
L
LINUX DO - 热门话题
有赞技术团队
有赞技术团队
S
Secure Thoughts
WordPress大学
WordPress大学
The Cloudflare Blog
AWS News Blog
AWS News Blog
B
Blog RSS Feed
Cyberwarzone
Cyberwarzone
S
Security Affairs
Recent Commits to openclaw:main
Recent Commits to openclaw:main
The Register - Security
The Register - Security
L
LINUX DO - 最新话题
博客园_首页
C
Cybersecurity and Infrastructure Security Agency CISA
博客园 - 【当耐特】
T
Troy Hunt's Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
S
Securelist
S
Schneier on Security
Application and Cybersecurity Blog
Application and Cybersecurity Blog

博客园 - 用好

pile up english translates that are done by me SQLSEREVER测试题 一个有趣的话题 什么是次级域名、URL转发、MX记录、泛域名解析 关于数据库连接池 关于无法创建aspnet web项目的解决办法 Dotnet面试题(欢迎大家加入新的面试题) The following table shows the core technology areas of the .NET Framework. 如何在UserControl中调用所在页面的ViewState (转) - 用好 - 博客园 ASP.NET中的FILE对象总结 (藏) 经典收集 程序员喝酒文化 (转贴) .net常用的名字空间 关于C++ 请不要做浮躁的人 三、主流中间件技术平台 生活中的智慧 关于用户控件中的事件 什么是base标签
页面装载用户控件时的事件顺序 (转)
用好 · 2005-05-26 · via 博客园 - 用好

在WebForm1页面上直接放置用户控件WebUserControl1时的事件顺序:
WebUserControl1_Init <br>
WebForm1_Init <br>
Page_Load <br>
WebUserControl1_Load <br>
WebForm1_PreRender <br>
WebUserControl1_PreRender <br>
WebUserControl1_Unload <br>
WebForm1_Unload <br>

在WebForm1页面的OnInit方法中用代码Load用户控件WebUserControl1时的事件顺序:
WebForm1_Init : OnInit
WebForm1: Loading controls
WebUserControl1_Init : OnInit
WebForm1: added to Controls
WebForm1: LoadViewState
WebUserControl1: LoadViewState
WebUserControl1: LoadPostData Begin
WebUserControl1: LoadPostData End
WebForm1_PageLoad: OnLoad after base's Onload.
WebUserControl1_Load: after base's OnLoad
iWebUserControl1: RaisePostDataChange
WebForm1: OnPreRender
WebUserControl1: OnPreRender
WebForm1: SavedViewState
WebUserControl1: SaveViewState

在WebForm1页面的Page_Load方法中用代码Load用户控件WebUserControl1时的事件顺序:
WebForm1_Init : OnInit
WebForm1: LoadViewState
WebForm1_PageLoad: OnLoad after base's Onload.
WebForm1: Loading controls
WebUserControl1_Init : OnInit
WebUserControl1: LoadViewState
WebForm1: added to Controls
WebUserControl1_Load: after base's OnLoad
WebUserControl1: LoadPostData Begin
WebUserControl1: LoadPostData End
iWebUserControl1: RaisePostDataChange
WebForm1: OnPreRender
WebUserControl1: OnPreRender
WebForm1: SavedViewState
WebUserControl1: SaveViewState


在WebForm1页面的Button1_Click事件中用代码Load用户控件WebUserControl1时的事件顺序:
WebForm1_Init <br>
Page_Load <br>
Button1_Click <br>
WebUserControl1_Init <br>
WebUserControl1_Load <br>
WebForm1_PreRender <br>
WebUserControl1_PreRender <br>
WebUserControl1_Unload <br>
WebForm1_Unload <br>

在WebForm1页面的Page_Load事件中用代码Load用户控件WebUserControl1,WebUserControl1又在Page_Load事件中用代码Load用户控件WebUserControl2时的事件顺序:
WebForm1_Init <br>
Page_Load <br>
WebUserControl1_Init <br>
WebUserControl1_Load <br>
WebUserControl2_Init <br>
WebUserControl2_Load <br>
WebForm1_PreRender <br>
WebUserControl1_PreRender <br>
WebUserControl2_PreRender <br>
WebUserControl2_Unload <br>
WebUserControl1_Unload <br>
WebForm1_Unload <br>