Can ContentPlaceHolder controls be put inside the <head> tag?

Last post 10-25-2005 3:25 AM by aakashdk. 0 replies.

Sort Posts:

  • Confused [*-)] Can ContentPlaceHolder controls be put inside the <head> tag?

    10-25-2005, 3:25 AM
    • Member
      20 point Member
    • aakashdk
    • Member since 09-26-2005, 4:22 AM
    • Posts 4
    I'm putting a ContentPlaceHolder control inside the head tag, like so:

    <head id="head1" runat="server">
        <asp:ContentPlaceHolder ID="ContentInHead" runat="server">
        </asp:ContentPlaceHolder>
    </head>



    If I build this page, I get the following errors:
    Error    3    Validation (XHTML 1.0 Transitional): This name contains uppercase characters, which is not allowed.    C:\projects\website\site.master 
    Error    4    Unrecognized tag prefix or device filter 'asp'.    C:\projects\website\site.master   

    I'm using Visual Web Dev Express build 50727.42

    Whats going on?
    -Aakash

Page 1 of 1 (1 items)