Content Pages & head tags

Last post 05-28-2007 9:26 PM by Nullable. 1 replies.

Sort Posts:

  • Content Pages & head tags

    05-28-2007, 7:51 PM
    • Member
      50 point Member
    • acyment
    • Member since 04-16-2007, 9:31 PM
    • Buenos Aires, Argentina
    • Posts 1

    There's no declarative way to define head tags, such as links to stylesheets or metatags, in content pages in VS2005 (see http://www.codeproject.com/aspnet/PageTags.asp for more info on the subject). Will this be handled differently in Orcas? SEO optimization becomes quite cumbersome when the only way of achieving this is through some C# inside the Page_Load event...

     

    Thx,

    Alan 

  • Re: Content Pages & head tags

    05-28-2007, 9:26 PM
    Answer
    • Contributor
      3,964 point Contributor
    • Nullable
    • Member since 05-02-2006, 8:01 PM
    • Posts 740

    You know you can put a ContentPlaceHolder in the header tag of your MasterPage... and consume it in a Content page in 2005 right?

    -Timothy Khouri
    http://www.SingingEels.com/
    Developer / Architect / Author
Page 1 of 1 (2 items)