Code in second level Master Page's code-behind file (Page_Load Event Handler ) is never hit...
To reproduce create blank WebSite Project and add two nested MasterPages and one Content Form.
Place breakepoints inside Page_Load Event Handlers. Press F5. Watch as two breakpoints are hit and one is not.
Is it something wrong with me or with my VS2008 installation?
The Page has one ore more <asp:Contnt> controls that do not correspond with <asp:ContentOlaceHolder> controls in the Master Page.
I was able to fix it by removing a tag in the <head> section of the master page. It seems that a <title/> tag was causing the problem. I replaced <title/> with <title></title> and everything worked fine. Does the designer have issues with XML empty tag style? </>
Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how