The page request occurs before the page life cycle begins. When the page is requested by a user, ASP.NET determines whether the page needs to be parsed and compiled or whether a cached version of the page can be sent in response without running the page
In the start step, page properties such as Request and Response are set. At this stage, the page also determines whether the request is a postback or a new request and sets the IsPostBack property. Additionally, during the start step, the page’s UICulture property is set.
During page initialization, controls on the page are available and each control’s UniqueID property is set. Any themes are also applied to the page. If the current request is a postback, the postback data has not yet been loaded and control property values have not been restored to the values from view state
During load, if the current request is a postback, control properties are loaded with information recovered from view state and control state
During validation, the Validate method of all validator controls is called, which sets the IsValid property of individual validator controls and of the page
Download ASP.NET Page Life Cycle & Common Events pdf
Related Searches: postback, cached version, page request, uniqueid, property values
RSS feed for comments on this post · TrackBack URI
Leave a reply