dynamic meta tag

G

Guoqi Zheng

Dear sir,

I would like to generate meta tag for search engine dynamically... Can some
one tell me how to achieve this... Any code example?


--
Kind regards

Guoqi Zheng
guoqi AT meetholland dot com
Http://www.meetholland.com
 
T

Teemu Keiski

Hi,

put

<meta runat="server" ID="myMeta" />

at the header of the page. Then you could access the META tag server-side
via it's ID. As a type for the member 'MyMeta' you could use
HtmlGenericControl (or just HtmlControl).

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke


Dear sir,

I would like to generate meta tag for search engine dynamically... Can some
one tell me how to achieve this... Any code example?


--
Kind regards

Guoqi Zheng
guoqi AT meetholland dot com
Http://www.meetholland.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top