setting metatags programmtically

  • Thread starter Thread starter Mike P
  • Start date Start date
M

Mike P

Is it possible to set a page's metatags programmatically? And if so,
how is it done?
 
Mike said:
Is it possible to set a page's metatags programmatically? And if so,
how is it done?
Simply set the runat="server" attribute within your head.
 
Hi,

Mike P said:
Is it possible to set a page's metatags programmatically? And if so,
how is it done?

You can make any tag in a page accesible from the server, just add the
runat="server and then if the tag in question does not have a HtmlXXXX
control you use HtmlGenericControl
 

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

Back
Top