Hi Neil,
You can use the AppendHeader method of the Response object to add the info. Here is an example:
Response.AppendHeader("Refresh", "10; URL=WebForm1.aspx")
>Hi,
>
>I would like to create a an html meta tag with associated attributes on the fly. Can I use any of the C# classes within a method to contruct one? A simple example would be appreciated. The tag I would like to construct is:
>
>
><META HTTP-EQUIV="Refresh" CONTENT="0; URL=/relpath/mypdf.pdf">
>
>
>I will need to pass the page the URL (/relpath/mypdf.pdf) in order to complete the the attributes of the meta tag.
>
>
>Thank you
>Neil
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi