13

When is inline code executed with relation to page/control lifecycle events such as init and load?

1
  • 1
    Inline code meaning anything between <% %> and <%= %>, but not <%# %> - data-binding expressions are executed when a control template is data-bound, which can happen at any stage prior to rendering.
    – Sam
    Commented Sep 21, 2009 at 7:27

1 Answer 1

16

Inline code is executed when the page is being rendered ie. after the Page_PreRender event and before the Unload event

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.