As if ASP.NET Page events weren't complicated enough. Throw master pages into it and it gets even worse. Here is the sequence of some of the events when using a Master Page.
- Master page controls Init event.
- Content controls Init event.
- Master page Init event.
- Content page Init event.
- Content page Load event.
- Master page Load event.
- Content controls Load event.
- Content page PreRender event.
- Master page PreRender event.
- Master page controls PreRender event.
- Content controls PreRender event.
This is a bit complicated, but hopefully this reference will help in the future. More info can be found here.
Read the complete post at http://www.dotnettipoftheday.com/blog.aspx?id=3