Master Page. Why does this happens?

Master Page. Why does this happens?

am 17.04.2008 17:13:12 von Shapper

Hello,

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

Why is a ContentPlaceHolder inserted on the document head?



asp:ContentPlaceHolder>


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

Re: Master Page. Why does this happens?

am 17.04.2008 17:48:36 von NoSpamMgbworld

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" wrote in message
news:092c5abe-4d69-48d8-a611-71d724d957ec@m44g2000hsc.google groups.com...
> Hello,
>
> I created a Master Page in ASP.NET 3.5 and VS 2008.
>
> Why is a ContentPlaceHolder inserted on the document head?
>
>
>
> > asp:ContentPlaceHolder>
>
>
> 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