Sunday 20 October 2013

ASP.net page life cycle

It follows the sequence of events occure in ASP.Net: -

  • Page_Init.<= The Page_Init event occurs launched the page only the first time, but Page_Load occurs in subsequent request of the page.


  •  Page_Load.<=Page_load event guarantees that all controls are fully loaded.


  • Control Events.<=  Controls are also accessed in Page_Init events but you will see that viewstate is not fully loaded during this event.


  •  Page_Unload event.<= Page_load event guarantees that all controls are fully loaded.This event is triggered when the page was posted back to the browser. This event occurs for each control and then for the page.

0 comments:

Post a Comment