Forum Moderators: open
I am trying to reference a global variable of the master from the content, no problem, I can access is ok.
However, this global variable is changed in the master page's Page_Load phase, but the new value is not picked up in the content page. The value is read in the content pages' codeBehind Page_Load method.
What am I doing wrong?
Thanks,
Paul.
Events in ASP.NET Master and Content Pages [msdn.microsoft.com]
So you are not doing anything wrong per say. Just the load order isn't what one would expect is all.