Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Master Page Page_Load not running
Message
From
19/08/2010 17:03:03
 
 
To
19/08/2010 16:52:20
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01477409
Message ID:
01477416
Views:
26
>>Hi,
>>
>>I have a Master page where I put some code in the page_load in the code behind file. I also have code in the page_load of the content pages. How come the code in the master file does not run?
>>
>>What I am trying to do is programmatically set the Text of a label on the master page, every time any page based on this master page is displayed.
>
>Hmmm, it should work. Can you post the Page_Load event code from your Master page? Have you set your breakpoint in that method to make sure it truly wasn't running?

I just set a breakpoint in the child page_load and followed it through. It never ran the code in my IASLeftNav.Master, but it ran the code in my IASOuter.Master which is set as the master page for my IASLeftNav.Master. Shouldn't it have still run the code in my LeftNav one?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform