Torben Laursen wrote:
Hi
I would like to have one place where I can control the metatags in my
website. Mostly keywords.
Is there a component that will let me do that or what is the best way?
Thanks Torben
I've done this before by making the <head></headtag a server-side
control. I just used an HTMLGenericControl then loaded the metatags
from a database table.
Example:
<HTML>
<Head id=pageHead runat=server>
</Head>
<Body>
</Body>
</HTML>
in CodeBehind:
Protected Withevents pageHead as _
System.Web.UI.HtmlControls.HtmlGenericControl
pageHead.InnerHtml = oDataView(0).Row("header_info")
Hope this helps,
dkb