bungpeng Posted November 18, 2003 Posted November 18, 2003 May I know how to send HTML "META" tag from VB.NET to client site? Quote
Administrators PlausiblyDamp Posted November 18, 2003 Administrators Posted November 18, 2003 Could you not just include the meta tags in the aspx page, or is there something special you want to do with them? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
bungpeng Posted November 18, 2003 Author Posted November 18, 2003 Yes, I want it to be dynamic, base on user setting Quote
*Gurus* Derek Stone Posted November 19, 2003 *Gurus* Posted November 19, 2003 You can dynamically add any control to any container. <head id="head" runat="server"> <title>Foobar</title> </head> head.Controls.Add(New HtmlControl("meta")) Quote Posting Guidelines
bungpeng Posted November 19, 2003 Author Posted November 19, 2003 I was tried, but it gave me error, "Name 'head' is not declared", althought I did put the ID in html <head> tag like your example. Quote
*Gurus* Derek Stone Posted November 19, 2003 *Gurus* Posted November 19, 2003 I assume you're using a code-behind then. Declare the element as follows: Protected head As HtmlContainerControl Quote Posting Guidelines
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.