ASP.NET Master and Content Page Event Order

Below is a breakdown of the ASP.NET master page event order in relation to the event order of the content page that is using the master page.

Content Page

Master Page

1PreInit
2Controls Init
3Controls Init
4Init
5Init
6Load
7Load
8Controls Load
9Controls Load
10PreRender
11PreRender
12Controls PreRender
13Controls PreRender
14Controls Unload
15Controls Unload
16Unload
17Unload

Information taken from https://msdn.microsoft.com/en-us/library/dct97kc3.aspx

Leave a Reply

Your e-mail address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.