016-page life cycle

Source: Internet
Author: User

The life cycle of a page

-"ASPX request processing in the pipeline"
Get the page class object between the 7th and 8 events
Between the 11th and 12 events, the implementation of the ProcessRequest method
-"There is a life cycle for ASPX, and Ashx has no
-"The stages of the page life cycle experience are as follows:
<1> Page requests: Determining whether to use data within the cache
<2> start: Determine whether to postback, build the control tree
<3> Initialize: Invoke the Init-related method of the page and control
<4> loading: Invoking the load-related method of the page and control
<5> postback event handling: Invoke the related event handler for the page and control
<6> rendering: Invoking the render-related method of a page and control
<7> Uninstall: Invoke the Unload method of the page and control
-"Description: Each server control has its own life cycle, similar to the page life cycle
-"Read the documentation to understand the process
-"View source code via Reflector
Find the DLL for the ASPX class, starting with the PR method
Note: Subclasses rewrite the FrameworkInitialize () method of the page class to complete the build of the control tree

016-page life cycle

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.