Page Life Cycle
The life cycle of Active Server Page involves various stages
from requesting the page to unloading the page. This blog explains the
different stages of ASP.NET page life cycle.
Stages of Page Life
Cycle:
Page Request
StartPage Request
Initialization
Load
Validation
Event
Render
Unload
Page Request Stage:
In this stage, the client gives request to server for
accessing a web page. This occurs before the page life cycle begins...
Start
Start
The essential properties of the web page like request,
respond attributes are set during this stage. It also takes care of
initializing post back property that determines the type of request.
Initialization
Initialization
Control objects such as buttons, text boxes, drop down lists and other components of the web page are initialized during this stage. Unique ID is also set for the components for identification.
Load
If the request for loading web page is approved and the
components are initialized, then the page is loaded to the view state.
Validation
Validation
Controls required for validating and approving the accessibility of the web page content is loaded during this stage.
Event
Various events like clicking buttons, checking check boxes, selecting radio buttons are occurred during this stage.
Render
After the event occurs, the appropriate event handler will render the service assigned for that particular event in this stage.
Unload
When the web page service has been successfully completed, then it is ready to be discarded by the server.
Labels
Software
Post A Comment
No comments :