Hi,
specify the META tag with an ID and runat="server" attribute. Then declare a
code-behind member for it (the name needs to match the ID you gave), and say
of type System.Web.UI.HtmlControls.HtmlControl (not sure if
HtmlContainerControl would do as META tag has no content). Via the
Attributes property of the declared member, you could set these as you need
to.
--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
"ntm" <nt***@mail.com> wrote in message
news:30*************************@posting.google.co m...
I have this meta statement in the html for my aspx page:
<meta http-equiv="Refresh" content="5">
Rather than hard code the content as 5 I want to set it to different
values from the aspx.vb code behind page. What's the esasiest way to
accomplish this?
Thanks,
Nick