D'Arcy from Winnipeg
Solution Architecture, Business & Entrepreneurship, Microsoft, and Adoption

Interesting VS.NET 2008 Master Page Quirk

Monday, November 19, 2007 6:51 AM

Workign with VS.NET 2008, I noticed an odd quirk when working with Master Pages:

In the 08 version of a Master Page, you get two content areas: one in the head and one in the body. If you delete the one in the head, take it right out, the app will throw a run-time exception saying it can't find the expected control in the head.

There's no reference to it anywhere in teh code behind though...or the web.config file...and I can't believe that this would somehow be baked into the compiler somehow...looking for an answer/reason, but none yet. I mean, you can leave it in there and it won't affect anything...but just seems odd that I can't delete it outright.

D




Feedback

# re: Interesting VS.NET 2008 Master Page Quirk

The question is, can you step into the native .Net code as claimed?

hey, how did you get a copy so fast anyway? 11/19/2007 12:27 PM | Shaeno

# re: Interesting VS.NET 2008 Master Page Quirk

I'm still using Beta 2...not the release.
:)

D 11/19/2007 5:14 PM | D'Arcy from Winnipeg

Post a comment