-
Jun 25th, 2009, 03:33 PM
#1
Thread Starter
Lively Member
[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)
Ideas?
-
Jun 28th, 2009, 08:59 AM
#2
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|