When is inline code executed with relation to page/control lifecycle events such as init and load?
1 Answer
Inline code is executed when the page is being rendered ie. after the Page_PreRender event and before the Unload event
-
+1 - Just in case anyone wants a reference: msdn.microsoft.com/en-us/library/ms178135.aspx embedded code blocks run in the render phase (admittedly taken from another SO answer: stackoverflow.com/questions/15209500/…) Commented Aug 9, 2013 at 23:33