Wednesday 19 August 2015

Asp.Net Page life Cycle

      Set of sub-programs executed towards each time of web page processing are called asp.net page life cycle.

Events :

Page pre-init : This will be executed before memory initialization for webpage.

          Eg : Attaching theme, maser page dynamically to webpage is possible using pre-init event procedure.

Page Init :  This will be executed when memory is initialized for web page.

Page Load :  This will be executed when submitted data and controls are loaded.
       Eg : DataBase connectivity, Reading 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 web page.

   Eg : Database connection closing

No comments:

Post a Comment