A
Arthur Yousif
Hi,
I have a situation and I cannot figure out why it's not working. I have a
page (page1.aspx) with a LinkButton that calls another page (page2.aspx) to
download a report in pdf format.
In page1.aspx.cs, I trap for lnkSavePdf_Click(...) and when it's called, I
then call page2.aspx by using
Response.Recdirect(sUrl,false). I use false to keep the code moving. All
this works fine except for the following.
I have a Literal control on the page that I'd like to update with text like
"Downloading PDF, please wait..." but it never updates. I've tried putting
the pdfInfo.Text = "Downloading PDF, please wait..." in multiple places but
the page never shows it. I've run in debug mode and those lines are hit.
Any ideas what's going on and why it's not working? I'm pretty sure it's my
lack of knowledge on some of this, so any wisdom from you would greatly
appreciated.
Arthur
I have a situation and I cannot figure out why it's not working. I have a
page (page1.aspx) with a LinkButton that calls another page (page2.aspx) to
download a report in pdf format.
In page1.aspx.cs, I trap for lnkSavePdf_Click(...) and when it's called, I
then call page2.aspx by using
Response.Recdirect(sUrl,false). I use false to keep the code moving. All
this works fine except for the following.
I have a Literal control on the page that I'd like to update with text like
"Downloading PDF, please wait..." but it never updates. I've tried putting
the pdfInfo.Text = "Downloading PDF, please wait..." in multiple places but
the page never shows it. I've run in debug mode and those lines are hit.
Any ideas what's going on and why it's not working? I'm pretty sure it's my
lack of knowledge on some of this, so any wisdom from you would greatly
appreciated.
Arthur