Order of Page Events for ASPX Page, Master Page and User Control in ASP.NET

When an .aspx page is loaded in ASP.NET, the different page events
are called in the following order for the .aspx page, master page and
any user control on that page.

 

“OnLoad”   and   “PreRender”

  • ASPX Page
  • Master Page
  • User Control

 

“Init”   and   “UnLoad”

  • User Control
  • Master Page
  • ASPX Page