473,699 Members | 2,248 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 8488
http://www.aspfaq.com/2498

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


"Jason ." <jr****@yahoo.c om> wrote in message
news:Oh******** ******@tk2msftn gp13.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.c om> wrote in message
news:u%******** *******@TK2MSFT NGP11.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.c om> wrote in message news:<u#******* ******@TK2MSFTN GP11.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
5801
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 advice on the matter Cheers Naomi
4
3299
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 page appear as built. Is there any way to display a "Please Wait" message that displays as soon as the first javascript begins and disappears when the javascripts have completed? Some scripts are in the header and some in the body. I have...
3
5718
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 (REMOVEnntp@rogers.com) Please delete "REMOVE" from the e-mail address when replying.
5
1704
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 stuck. This is the vb.net code for the wait.aspx page Public redirectPage As String = "" Public secondsToWait As String = "0"
2
1938
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 the DB I am using a DIV with a please wait message which is removed once the page is loaded. In addition I am using a global error handling using the Application_Error void in the Global.asax file. when the application is loading a page which...
4
3501
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 usually takes from 5-10 sec of waiting period to get response back if the transaction was approved of declined. I want to implement page which says "Please wait...your request is being processed." after user clicks on submit button and before I...
1
1278
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 tried setTimeout, setInterval. In this dumb, but valid example, i want to display an iframe that loads google. Before it loads I want to display a 'processing' indicator in green in the middle of the window. Then, when it is done, it is to turn...
5
2655
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 please wait image. I was thinking of trying to use the CallBack mechanism but wondered if AJAX would be better suited. I'd really just appreciate some ideas on how this could be acheived. I'll
5
3232
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. However, the page also has fallback code in case of no Javascript. In this case I would like to display temporary "please wait" type page
0
8689
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8618
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9178
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9035
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8916
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,...
0
8885
tracyyun
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...
0
7752
agi2029
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...
1
6534
isladogs
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...
2
2348
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.