dynamik meta-tags

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rolfb

    dynamik meta-tags

    I use ASP.net 2.0 C# for my shop-system.
    I want to programm dynamic meta-tags.
    In some books I find as memer of HtmlHead statements like
    Page.Header.Met adata.Add("desc ription", "my product");

    If I try this, i got the error message: Metadaten not member of HtmlHead

    Want do I wrong?
    What other way is possible?

    rolf brockmann
  • Egbert Nierop \(MVP for IIS\)

    #2
    Re: dynamik meta-tags


    "rolfb" <rolfb@discussi ons.microsoft.c om> wrote in message
    news:FD37ED30-77F6-46AC-8847-8C3A6AD5596E@mi crosoft.com...[color=blue]
    >I use ASP.net 2.0 C# for my shop-system.
    > I want to programm dynamic meta-tags.
    > In some books I find as memer of HtmlHead statements like
    > Page.Header.Met adata.Add("desc ription", "my product");
    >
    > If I try this, i got the error message: Metadaten not member of HtmlHead
    >
    > Want do I wrong?
    > What other way is possible?[/color]

    You should use

    Response.AddHea der("descriptio n", "my product")
    or better
    Response.Append Header("descrip tion", "my product") ;

    But your question concerns ASP.NET and this newsgroup concerns classic ASP.
    [color=blue]
    > rolf brockmann[/color]

    Comment

    Working...