Jun 25th, 2009, 03:33 PM
[C#] Nested master page not firing Page_Load event
I have used the information from MSDN to create a nested master page. I want a main master page for my site, and a nested master page for my Administration panel. In the CS code for the nested master, I am checking the logged in state against my session in the Page_Load event, but that event never fires. How can I make that event fire on the nested master page? here is how my solution and pages are setup:
/MainMaster.Master (this Page_Load event fires)
/Default.aspx (MainMaster.master child) (this page load event fires)
./Admin/Admin.Master (MainMaster.Master child) (this page load event doesn't fire)
./Admin/Default.aspx (Admin.Master child) (this page load event fires)
Jun 28th, 2009, 08:59 AM
Re: [C#] Nested master page not firing Page_Load event
Check to see that the nested master page's AutoEventWireUp property is set to true.
Click Here to Expand Forum to Full Width
Survey posted by VBForums.