473,327 Members | 1,976 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Please Wait While Page Loads....

I have seen a few articles with a javascript example but it is not
working for me. The server side code is processed first and then the
javascript so I basically get my page loading splash screen displayed
for a split second and then my page I am navigating to.

How do I display the "Please Wait..." before the server side code kicks
in? Thanks.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #1
4 8467
http://www.aspfaq.com/2498

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Jason ." <jr****@yahoo.com> wrote in message
news:Oh**************@tk2msftngp13.phx.gbl...
I have seen a few articles with a javascript example but it is not
working for me. The server side code is processed first and then the
javascript so I basically get my page loading splash screen displayed
for a split second and then my page I am navigating to.

How do I display the "Please Wait..." before the server side code kicks
in? Thanks.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 19 '05 #2
Thanks. The example works great but when I apply it to my page I get a
blank page for a few seconds and then the "Please Wait..." appears for a
split second and then the rest of the page is displayed.

I need the Please Wait to appear as soon as the page is loaded, prior to
the server side script. It seems that the server side script is being
processed and then the message appears.

I have a bunch of database related calls and web services going on and
then I display the page. I put the Response.Flush right after the
"Please Wait" script. Should I be putting this at the top of the page?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #3
the Resp.Write and Resp.Flush need to be FIRST, before the processing.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jason ." <jr****@yahoo.com> wrote in message
news:u%***************@TK2MSFTNGP11.phx.gbl...
Thanks. The example works great but when I apply it to my page I get a
blank page for a few seconds and then the "Please Wait..." appears for a
split second and then the rest of the page is displayed.

I need the Please Wait to appear as soon as the page is loaded, prior to
the server side script. It seems that the server side script is being
processed and then the message appears.

I have a bunch of database related calls and web services going on and
then I display the page. I put the Response.Flush right after the
"Please Wait" script. Should I be putting this at the top of the page?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 19 '05 #4
Jason . <jr****@yahoo.com> wrote in message news:<u#*************@TK2MSFTNGP11.phx.gbl>...
Thanks. The example works great but when I apply it to my page I get a
blank page for a few seconds and then the "Please Wait..." appears for a
split second and then the rest of the page is displayed.

I need the Please Wait to appear as soon as the page is loaded, prior to
the server side script. It seems that the server side script is being
processed and then the message appears.

I have a bunch of database related calls and web services going on and
then I display the page. I put the Response.Flush right after the
"Please Wait" script. Should I be putting this at the top of the page?


Why is your page so slow loading as to require a Please Wait message
in the first place?
Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Naomi | last post by:
hello Could anyone please tell me if there is any way i can have the text "Menu Loading Please Wait..." appear while the js menu loads and then disappear after it loads ? hoping to hear some...
4
by: Dennis M. Marks | last post by:
I have multiple functions that dynamically build parts of a page. It can take 15-30 seconds for this process to complete. In IE nothing appears until the page is complete. In Netscape parts of the...
3
by: Lucas Tam | last post by:
Does anyone have easy to use sample code to build a "Please wait... processing data screen?" I'm interested in something like Expedia's search page Thanks. -- Lucas Tam...
5
by: Chris | last post by:
Hi, I was following the article http://msdn.microsoft.com/msdnmag/issues/03/12/DesignPatterns/default.aspx I got everything working until I go the the Progress bar section. Here is where I am...
2
by: s_erez | last post by:
Hi, This is a realy tricky one. I have an ASP.NET application where some pages are reading data from a DB and presenting reports. In order for the user to wait while the page is reading data from...
4
by: puja patel | last post by:
hi all, I am developing a shopping cart website in C# where after selecting item, user enters credit card details and click on submit button.This request is then processed by the gateway which...
1
by: gkellymail | last post by:
I have a small javascript/html code below that demonstrates that problem I'm having in a larger program. I've tried all kinds of things to get it to work, but it just won't do what I want. I've...
5
by: MattC | last post by:
Hi, I have a webservice that returns a byte for an image. I'd like to disaplay an image while the webservice is being contacted and then once the byte is available show that and remove the...
5
by: Jeremy | last post by:
Hi all, I have database actions that will potentially take several seconds to complete. My normal page uses AJAX so keeping the user informed of what is happening is not a problem. ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.