Summary of ASP. NET page event execution process

Source: Internet
Author: User

Base class:

Load the inherited page first, and then load your own. If there is an inherited page, load the inherited page first.

Controls:

1) The init event is triggered from the innermost control (including the user control and common control) to the outermost control (page, load, prerender, and other events are triggered from the outermost control to the innermost control;
2) The execution sequence of the same events between controls depends on the control's position on the page from left to right, from top to bottom.

Note:
1) Remember that the user control is also regarded as a control in the page;
2) using a user control as a special page, the user control itself and its contained controls follow the same rules;
3) sometimes on the clientProgram(For example, JavaScript), the onload event of the client body object is used. Note that this client event is the final execution, that is, it is executed only after all the events on the server end are executed.

 

 

Address: http://www.cnblogs.com/mytechblog/articles/1803324.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.