When is inline code executed with relation to page/control lifecycle events such as init and load?
Asked
Active
Viewed 1,992 times
1 Answers
16
Inline code is executed when the page is being rendered ie. after the Page_PreRender event and before the Unload event

Darko
- 38,310
- 15
- 80
- 107
-
+1 - Just in case anyone wants a reference: http://msdn.microsoft.com/en-us/library/ms178135.aspx embedded code blocks run in the render phase (admittedly taken from another SO answer: http://stackoverflow.com/questions/15209500/in-asp-net-do-inline-expressions-get-executed-before-or-after-the-code-behind) – user420667 Aug 09 '13 at 23:33