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)
{
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