VS 2008 Nested Master Page Support(weblogs.asp.net)

submitted by k000derk000der(4765) 4 years, 7 months ago

VS 2008 designer handles now nested Master Pages

2 comments |category: |Views: 31

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by ashayderovashayderov(0) 4 years, 4 months ago 0

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?

Art

Reply

posted by marknmarkn(0) 4 years, 2 months ago 0

I got this problem also:

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? </>

Reply

information Login or create an account to comment on this story