Wednesday, 23 April 2014

What is Page Life cycle of ASP.Net

           Set of sub Programs are executed towards each time of web page processing are called Page Life Cycle .
     There are some events in asp.net

  •  Page Preinit :  This will be executed before memory initialization for webpage.
        Example : Attaching theme, Master page dynamically to webpage is possible using preinit event procedure.
  • Page Init : This will be executed when memory is initialized for webpage.
  • Page Load : This will be executed when submitted data can be placed within page load.
  • Page PreRender : This will be executed before rendering HTML content for server side control.
  • Page Unload : This will be executed once memory is released for webpage.
     Example : Closing Database connection

No comments:

Post a Comment