Event Sequence on ASP.NET page creation

user204588 picture user204588 · May 19, 2010 · Viewed 12.4k times · Source

I'm looking for a good tutorial/article that explains the exact sequence of events that takes place when a page is created. I can never remember the order. I think it's something like the parent controls Init event is called, then the child controls Init event is called, in order of the placement on the page. Also, when the control events are called, what order are they called in? For example, if a button event is raised, does this event get called before a DataList_ItemDataBound event is called if the DataList.DataBind is in the Page_Load event? So, does anyone want to try to explain or direct me to a nice article that explains all this?

thanks.

Answer

derek picture derek · May 19, 2010

This link should cover it: MSDN Page Life Cycle