文件名称:DocASPLifeCycle
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:3.62kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Documenting the Life Cycle of an ASP Page-Introduction
When coordinating code between a master page, a child page and several controls, it can be very useful to have a listing of when each event is fired. There are a lot of lists on the web but they are rarely complete, and I have yet to find the code on how the lists were created. In the end I wrote my own testing framework, which is the topic of this article.
It turns out to be very simple: override methods to make a note of what is happening, then continue. I did this by creating custom classes to replace the standard Page and MasterPage objects, and by writing "wrapper" web controls. If you are familiar with these techniques or are just looking for a reference, feel free to go to the Results sections at the bottom.
This article is targeted towards beginner-ish web programmers who already know the basics of web programming and have a test site where they can experiment. It was written and tested using ASP.Net 2.0, but there s nothing here that should break with any
When coordinating code between a master page, a child page and several controls, it can be very useful to have a listing of when each event is fired. There are a lot of lists on the web but they are rarely complete, and I have yet to find the code on how the lists were created. In the end I wrote my own testing framework, which is the topic of this article.
It turns out to be very simple: override methods to make a note of what is happening, then continue. I did this by creating custom classes to replace the standard Page and MasterPage objects, and by writing "wrapper" web controls. If you are familiar with these techniques or are just looking for a reference, feel free to go to the Results sections at the bottom.
This article is targeted towards beginner-ish web programmers who already know the basics of web programming and have a test site where they can experiment. It was written and tested using ASP.Net 2.0, but there s nothing here that should break with any
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Default.aspx
Test.master
web.config
App_Code/TestButton.vb
App_Code/TestChild.vb
App_Code/TestGrid.vb
App_Code/TestMaster.vb
App_Data/TestData.xml
Test.master
web.config
App_Code/TestButton.vb
App_Code/TestChild.vb
App_Code/TestGrid.vb
App_Code/TestMaster.vb
App_Data/TestData.xml
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.