Computer Tricks

[Computer tricks][bleft]

Coding Tips

[Computer tricks][twocolumns]

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
Start
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
        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



        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



        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.

Post A Comment
  • Blogger Comment using Blogger
  • Facebook Comment using Facebook
  • Disqus Comment using Disqus

No comments :


Software

[Software][threecolumns]

Internet

[Internet][list]

grids

health