Connecting Tech Pros Worldwide Help | Site Map

text wait or hourglass

  #1  
Old October 9th, 2008, 06:15 PM
Charlotte
Guest
 
Posts: n/a

Hi

Can someone please help me with the following:

I have an ASP-page where a query runs, it confiscates a couple of seconds (5
to 10 sec), before the result is sent to the client's browser.

While the query is doing his job on the server, the visitor can't see
anything, only a blank page with the typical 'indicator' in the status of IE
(at the bottom).

I would like to have the words: 'Patience, the result is being composed' or
an hourglass must be shown, so that the visitor can see that the process is
taking place.

Can anyone give me an example?

Thanks in advance
Chalotte

  #2  
Old October 9th, 2008, 09:15 PM
Tim Slattery
Guest
 
Posts: n/a

re: text wait or hourglass


"Charlotte" <charlotte.deleeuw@SPAMtelenet.bewrote:
Quote:
>
>Hi
>
>Can someone please help me with the following:
>
>I have an ASP-page where a query runs, it confiscates a couple of seconds (5
>to 10 sec), before the result is sent to the client's browser.
>
>While the query is doing his job on the server, the visitor can't see
>anything, only a blank page with the typical 'indicator' in the status of IE
>(at the bottom).
>
>I would like to have the words: 'Patience, the result is being composed' or
>an hourglass must be shown, so that the visitor can see that the process is
>taking place.
Put the line: Response.Buffer = False at the top of your ASP page:

Response.Buffer=False

<!DOCTYPE etc, etc>
<html>
<head>....</head>
<body>
<h1>header</h1>
other text
<%
processing
%>
Done!


The user will see the header and "other text". That will show while
the processing is being done, then the "Done!" will display.

--
Tim Slattery
MS MVP(Shell/User)
Slattery_T@bls.gov
http://members.cox.net/slatteryt
  #3  
Old October 10th, 2008, 01:45 PM
Tim Slattery
Guest
 
Posts: n/a

re: text wait or hourglass


Tim Slattery <Slattery_T@bls.govwrote:

Quote:
>Put the line: Response.Buffer = False at the top of your ASP page:
>
>Response.Buffer=False
Ahh...I should have remembered that this line is server-side script,
therefore should be between <% and %>

<% Response.Buffer = False %>

--
Tim Slattery
MS MVP(Shell/User)
Slattery_T@bls.gov
http://members.cox.net/slatteryt
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Access create Word documents? etuncer@gmail.com answers 4 February 4th, 2007 01:15 AM
automaticly change mouse pointer into hourglass Jan Heppen answers 6 October 6th, 2006 11:05 AM
Changing mouse into hourglass over all objects including drop downs mcraven.2@wright.edu answers 5 July 26th, 2006 11:25 AM
Wait Window function GTi answers 4 July 20th, 2005 12:21 PM