Displaying Progress on An ASP Page

S

sam

Hi - I have an ASP page - that will be making about 7 calls to a
database.

What I want is to show progress to the users so that they can tell each
database call is in progress.

The asp calling page works fine, but it only displays when the entire
process has been completed.

What I want is to be able to show dynimically - step 1 done; step 2
done; etc.

Any thoughts?
 
B

Bob Barrows [MVP]

sam said:
Hi - I have an ASP page - that will be making about 7 calls to a
database.

What I want is to show progress to the users so that they can tell
each database call is in progress.

The asp calling page works fine, but it only displays when the entire
process has been completed.

What I want is to be able to show dynimically - step 1 done; step 2
done; etc.

Any thoughts?

Did you try Google?
http://www.google.com/search?source...=GGLD,GGLD:2003-36,GGLD:en&q=ASP+Progress+Bar

Here is a useful result from the above search:
http://www.atgconsulting.com/progressbar.asp
 
S

Sean Harrop

I have tried quite a few of the suggestions on various search engines, and
they all work correctly in Firefox and Opera, but the moment I try it in
Internet Explorer, IE does not render the page until it is complete, even
though my ASP page uses

Response.Buffer = True

and

Response.Flush

Is there a way to trick IE into rendering the page?
 
A

Anthony Jones

Sean Harrop said:
I have tried quite a few of the suggestions on various search engines, and
they all work correctly in Firefox and Opera, but the moment I try it in
Internet Explorer, IE does not render the page until it is complete, even
though my ASP page uses

Response.Buffer = True

and

Response.Flush

Is there a way to trick IE into rendering the page?
You'll want Response.Buffer = False

You should also avoid tables IE will often deffer rendering until all the
table is received.

Sending a series of DIVs should work.
 
P

PM

"Sean Harrop" <[email protected]> escreveu na mensagem

Along with what Anthony said, try also this:

A progress bar made with a line of images (colored squares or something like
that), each one with an id.
Just before each Response.flush, send some scripting code, that will change
the src for each image, like a square with a diferent color.

This should work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top