Friday, August 15, 2008

ASP.NET Page Lifecycle

The following list outlines the most frequently used page event subroutines:
  • Page_Init - called when the page is about to be initialized with its basic settings
  • Page_Load - called once the browser request has been processed, and all of the controls in the page have their updated values
  • Page_PreRender - called once all objects have reacted to the browser request and any resulting events, but before any response has been sent to the browser
  • Page_UnLoad - called when the page is no longer needed by the server, and is ready to be discarded

No comments: