Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Master Page. Why does this happens?

0 views
Skip to first unread message

shapper

unread,
Apr 17, 2008, 11:13:12 AM4/17/08
to
Hello,

I created a Master Page in ASP.NET 3.5 and VS 2008.

Why is a ContentPlaceHolder inserted on the document head?

<head runat="server">
<title></title>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"></
asp:ContentPlaceHolder>
</head>

Can't I access the head by doing in the pages that use the master
pages something like:

Page.Header ...

What am I am missing here?

I think in ASP.NET 2.0 this was not inserted.

I am trying to create a Master Page and Nested Master Pages.

Thanks,

Miguel

Cowboy (Gregory A. Beamer)

unread,
Apr 17, 2008, 11:48:36 AM4/17/08
to
The idea of adding head content tags came from Expression (or rather from
the Expression and VS team, first introduced in Expression).

The idea here is you can, using tags alone, add header content, like style
sheet links, javascript links, etc.

How useful is it? I am inclined to delete them in most instances. :-)

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"shapper" <mdm...@gmail.com> wrote in message
news:092c5abe-4d69-48d8...@m44g2000hsc.googlegroups.com...

0 new messages