472,110 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,110 software developers and data experts.

Displaying Progress on An ASP Page

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?

Jul 5 '06 #1
4 1585
sam wrote:
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?sourcei...P+Progress+Bar

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

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 5 '06 #2
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?

"Bob Barrows [MVP]" wrote:
sam wrote:
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?sourcei...P+Progress+Bar

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

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Aug 31 '06 #3

"Sean Harrop" <Se********@discussions.microsoft.comwrote in message
news:CF**********************************@microsof t.com...
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.

>

"Bob Barrows [MVP]" wrote:
sam wrote:
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?sourcei...P+Progress+Bar

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

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


Aug 31 '06 #4
PM

"Sean Harrop" <Se********@discussions.microsoft.comescreveu na mensagem
news:CF**********************************@microsof t.com...

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.
Aug 31 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Kenneth Keeley | last post: by
2 posts views Thread by Bruce Whitehouse | last post: by
6 posts views Thread by Ernie | last post: by
4 posts views Thread by ambros.gleixner | last post: by
1 post views Thread by daniel_xi | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.