Skip to content

General

IT Notes → ASP.NET @ December 22, 2020

General Page Life-Cycle Stages:

  1. Page Request – Determine whether page has to be complied and parsed or cached version can be sent.
  2. Start – Page properties like Request, Response are set. Also sets IsPostBack depending on post back and UI culture.
  3. Initialization – Controls on page available and UniqueID set for them and Master Page and Theme applied.
  4. Load – If post back, controls are loaded with information recovered from view state and control state.
  5. Postback Event Handling – If the request is a post back, control event handlers are called. After that, the Validate method of all validator controls is called, which sets the IsValid property of individual validator controls and of the page. Exception is that the handler for the event that caused validation is called after validation.
  6. Rendering – Page properties such as Response and Request are unloaded and clean-up is performed. Before rendering, view state is saved for the page and all controls.
  7. Unload – Page properties such as Response and Request are unloaded and clean-up is performed.
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x