- The user makes a request to for a page.
- On the webserver, the ASP.NET compile the page (if necessary), or pull from cache (if available).
- (Start) Set request and response objects. Determine IsPostBack.
- (Init) Initialize page controls (but not their properties). Apply page theme.
- (Load) If PostBack, load control properties from view state.
- (Validation) Validate page and validator controls
- Call control event handlers (for PostBack request).
- (Rendering) Save view state. Render controls and display the page.
- (Unload) Unload request and response objects. Perform cleanup. Page is ready to be discarded. Return response to user.
Wednesday, June 12, 2013
The Page Life Cycle
Besides from the Applications life cycle there is also the Page life
cycle for each page in a website. The following is a list of the page
life cycle.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment