Neil,
Glad that worked for you.
>Thank you Cathi,
>
>That worked like a charm.
>Now I can redirect with a time delay DYNAMICALLY.
>for example:
>
>private void Page_Load(object sender, System.EventArgs e)
>{
> // Put user code to initialize the page here
>
> string myReport = Request.QueryString["cReport"];
> this.lblStandby.Text = "Please standby while you are re-directed to your report: *" + myReport + "* for viewing.....";
> string cContent = "7; URL=" + "TEMP/" + myReport + ".PDF";
> Response.AppendHeader("Refresh", cContent);
>}
>
>
>Regards,
>Neil
>
>
>>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