1. Page Initialization
After a page is requested, the first stage is to initialize the Page Object of the page. During the initialization process, the server generates a page_init event. developers can use this event to control the page, orProgramTo initialize the variable.
2. Load view status
After the initialization event, the page frame loads the view status for the page. Through the loadviewstate event, all the controls on the page will get their viewstate attributes.
3. Return Data Processing
4. Page Loading
After data processing is sent back, all page controls reflect the last updated status. Then the load event is executed on the page.
5. Handling of return events
Triggered by client events and processed on the serverCode.
6. Page pre-return stage
In this phase, you can use the onprerender method to reload 7. Save viewstate
After the page control is modified, the viewstate object is saved.
8. Page return stage
This phase triggers the reder event and generates HTML code. Then, the page can be accessed by the user's browser in the form of HTML.
9. Destroy objects
The last stage of the page lifecycle is to destroy the object, which is triggered hours ago.