Search code examples
.netasp.netcode-behindpage-lifecycle

What is processed first: aspx or aspx.vb code?


I wonder what is processed first: if the code placed in the aspx part (using server tags <% %>) or the code behind, because I place a variable that is filled in the Page_Load in the aspx between server tags and I'm not getting anything when there is a value.

Anyone can point me in some directions like an article talking about the page lifecycle that includes the aspx code?

Thanks!


Solution

  • From MSDN: ASP.NET Page Life Cycle Overview

    (http://msdn.microsoft.com/en-us/library/ms178472.aspx)