I am writing an ASP.NET application which runs a Crystal
Report and then displays the results with the Web Form
Viewer. (This works ok). However, since these reports
take a couple of minutes to run, I would like to display
a 'please wait' message on the browser until the report
is ready for viewing. I have attempted to use
Response.Write to send a message down to the browser, but
this prevents me from redirecting the browser since the
HTTP headers have already been sent. I have also tried
Server.Transfer which works but I can never see
the 'please wait message'. Basically, I am looking at a
blank web page until the report is done.
Any ideas would be greatly appreciated!
Bill H 2 2242
In a similar situation, I created an intermediate "please wait" page,
to be displayed between the page where the user selects the report,
and the page generating the report, with
<meta http-equiv="Refresh" content="1;URL= <% = RedirectUrl %>">
where RedirectUrl held a URL with enough querystring variables to
determine the report to display.
My situation is slightly different to yours though, because I was
exporting to PDF/XLS, and displaying in an application window, rather
than using the viewer. The problem you might have with this approach
is that the Refresh happens again if the user clicks on the back
button from the report. It's quick and easy though.
"bh*****@certeg y.com" <an*******@disc ussions.microso ft.com> wrote in message news:<03******* *************** ******@phx.gbl> ... I am writing an ASP.NET application which runs a Crystal Report and then displays the results with the Web Form Viewer. (This works ok). However, since these reports take a couple of minutes to run, I would like to display a 'please wait' message on the browser until the report is ready for viewing. I have attempted to use Response.Write to send a message down to the browser, but this prevents me from redirecting the browser since the HTTP headers have already been sent. I have also tried Server.Transfer which works but I can never see the 'please wait message'. Basically, I am looking at a blank web page until the report is done.
Any ideas would be greatly appreciated!
Bill H
Thanks, I will give it a shot. I appreciate the help!
Bill H -----Original Message----- In a similar situation, I created an
intermediate "please wait" page,to be displayed between the page where the user selects
the report,and the page generating the report, with
<meta http-equiv="Refresh" content="1;URL= <% =
RedirectUrl %>"> where RedirectUrl held a URL with enough querystring
variables todetermine the report to display.
My situation is slightly different to yours though,
because I wasexporting to PDF/XLS, and displaying in an application
window, ratherthan using the viewer. The problem you might have with
this approachis that the Refresh happens again if the user clicks on
the backbutton from the report. It's quick and easy though.
"bh*****@certe gy.com"
<an*******@disc ussions.microso ft.com> wrote in message
news:<03******* *************** ******@phx.gbl> ... I am writing an ASP.NET application which runs a
Crystal Report and then displays the results with the Web Form Viewer. (This works ok). However, since these reports take a couple of minutes to run, I would like to
display a 'please wait' message on the browser until the
report is ready for viewing. I have attempted to use Response.Write to send a message down to the browser,
but this prevents me from redirecting the browser since
the HTTP headers have already been sent. I have also tried Server.Transfer which works but I can never see the 'please wait message'. Basically, I am looking at
a blank web page until the report is done.
Any ideas would be greatly appreciated!
Bill H . This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Pelo GANDO |
last post by:
Hi everybody,
It's me again...Pelo, for an other beginner question...
What the code should be in C++ to wait for a keyboard entry in order to
execute the sequal of my program...
|
by: Big D |
last post by:
I recently got a new system, and re-installed studio. It was working fine,
but now whenever I start it I get a prompt that says:
"Please wait while windows configures visual studio .net - english."
If I wait until it completes, which takes a minute or two, all is well and
I can cancel the process too without incident. However, it's really
annoying. The only thing I can think of is that I installed office a day or
two ago, but I...
|
by: Aaron Queenan |
last post by:
I have a form which performs some asynchronous code. I want to display a
wait cursor when it starts, and hide the wait cursor when it has completed.
This part works fairly well, using:
this.TopLevelControl.Cursor = System.Windows.Forms.Cursors.WaitCursor;
I also want to prevent user interaction with the controls on my form while
the wait cursor is displayed, so that use events (except resize and cancel)
are blocked. What is the...
|
by: Dave Hardy |
last post by:
I have thread t1 . It spawns thread t2. I want to wait in thread t1
until the execution of thread t2 in completed. Bu t I do not want it to
be a blocking wait since I want thread t1 to be responsive to WM_PAINT
messages. I know how to do it in VC++ , but I have no idea how it can be
done in C#. Please help!!!
Regards,
Dave
|
by: Snuyt |
last post by:
Hello,
I want the program to wait a few seconds between executing code. It
should look something like this:
public sub xx()
...code...
wait(2) 'wait 2 seconds
...code...
| |
by: Bill Nguyen |
last post by:
below is the error message I received when about 2/3 of the process is done.
Where in my code I sould look for?
Thanks
Bill
---------
The CLR has been unable to transition from COM context 0x1afa18 to COM
context 0x1afb88 for 60 seconds. The thread that owns the destination
|
by: NvrBst |
last post by:
I want to send a bunch of keys to an external window using PostMessage.
I send a "KEYDOWN" message (then have to wait for the program to
produce the CHAR message) then send the "KEYUP" message.
Sometimes I have to only wait 1ms, others I have to wait up to 10ms.
Always waiting 10ms for the long messages makes the typing looks
slower... Is there a way to find out when the "CHAR" message was
processed in the external window?
IE, If I...
|
by: info |
last post by:
Hi All,
I am trying to set the hourglass cursor inside a class that has nothing
to do with MainForm class and I don't want to pass a reference to
MainForm.
How can I set the current cursor to Hourglass and then back to arrow?
Thanks a lot,
|
by: =?Utf-8?B?Um9iZXJ0IEUuIEZsYWhlcnR5?= |
last post by:
What is the C# command to wait for a specified period of time?
I am writing a windows service that will process a file once it has beed
created or changed. I'm using the fileSystemWatcher to detect when a
specific file has been created or changed. That works fine to a point. The
event does fire when the file is being created or changed but I then blow up
when I attempt to open the file because the creation or changing has not...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |