文件名称:DocASPLifeCycle
- 所属分类:
- WEB源码
- 资源属性:
- [Windows] [Visual.Net] [Basic/ASP] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 4kb
- 下载次数:
- 0次
- 提 供 者:
- viet*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
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 fr a mework, 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 fr a mework, 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
........\TestChild.vb
........\TestGrid.vb
........\TestMaster.vb
....Data\TestData.xml
Test.master
web.config
App_Code\TestButton.vb
........\TestChild.vb
........\TestGrid.vb
........\TestMaster.vb
....Data\TestData.xml