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 2 1095
Here's the simplest example I've seen for such a situation: http://www.aspnetpro.com/NewsletterA...200308bm_l.asp
--
I hope this helps,
Steve C. Orr, MCSD http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com
"Arthur Yousif" <ar**********@centurytel.net> wrote in message
news:eV***************@tk2msftngp13.phx.gbl... 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
Thanks Steve. What I'd really like to do is have the progress on the same
page. Is that doable at all? The download page has a section on the bottom
where I'd like to display messages to the user and it works if I post them
through a registered script, however, once a message like "Downloading PDF,
please wait..." is posted, I can't get rid of it as I can't seem to know
when page2.aspx is finished.
Arthur
"Steve C. Orr, MCSD" <St***@Orr.net> wrote in message
news:eE**************@TK2MSFTNGP10.phx.gbl... Here's the simplest example I've seen for such a situation: http://www.aspnetpro.com/NewsletterA...200308bm_l.asp -- I hope this helps, Steve C. Orr, MCSD http://Steve.Orr.net Hire top-notch developers at http://www.able-consulting.com "Arthur Yousif" <ar**********@centurytel.net> wrote in message news:eV***************@tk2msftngp13.phx.gbl... 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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Dave Rahardja |
last post by:
Does the C++ standard specify the behavior of floating point numbers during
"exceptional" (exceptional with respect to floating point numbers, not
exceptions) conditions?
For example:
double...
|
by: E. Robert Tisdale |
last post by:
In the context of the comp.lang.c newsgroup,
the term "undefined behavior" actually refers to
behavior not defined by the ANSI/ISO C 9 standard.
Specifically, it is *not* true that "anything can...
|
by: Ken Turkowski |
last post by:
The construct
(void*)(((long)ptr + 3) & ~3)
worked well until now to enforce alignment of the pointer to long
boundaries. However, now VC++ warns about it, undoubtedly to help things
work on 64...
|
by: Steven Bethard |
last post by:
> >>> aList =
> >>> it = iter(aList)
> >>> zip(it, it)
>
> That behavior is currently an accident.
>http://sourceforge.net/tracker/?group_id=5470&atid=105470&func=detail&aid=1121416
|
by: Mike Livenspargar |
last post by:
We have an application converted from v1.1 Framework to v2.0. The executable
references a class library which in turn has a web reference. The web
reference 'URL Behavior' is set to dynamic. We...
|
by: gyan |
last post by:
Hi All,
I am using sprintf and getting starnge output in following case
char temp_rn;
memset(temp_rn,'\0',12);
sprintf(temp_rn,"0%s",temp_rn);
the final value in temp_rn is 00
how it...
|
by: Rajesh S R |
last post by:
Can anyone tell me what is the difference between undefined behavior
and unspecified behavior?
Though I've read what is given about them, in ISO standards, I'm still
not able to get the...
|
by: v4vijayakumar |
last post by:
#include <string>
#include <iostream>
using namespace std;
int main()
{
string str;
str.resize(5);
str = 't';
|
by: bukzor |
last post by:
I've found some bizzare behavior when using mutable values (lists,
dicts, etc) as the default argument of a function. I want to get the
community's feedback on this. It's easiest to explain with...
|
by: coolguyaroundyou |
last post by:
Will the following statement invoke undefined behavior :
a^=b,b^=a,a^=b ;
given that a and b are of int-type ??
Be cautious, I have not written a^=b^=a^=b ; which, of course, is
undefined....
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |