| Author |
Please Wait While Page Loads....
|
|
| Jason . 2004-08-24, 7:05 pm |
| 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.codecomments.com ***
Don't just participate in USENET...get rewarded for it!
| |
| Aaron [SQL Server MVP] 2004-08-24, 7:05 pm |
| http://www.aspfaq.com/2498
--
http://www.aspfaq.com/
(Reverse address to reply.)
"Jason ." <jrp210@yahoo.com> wrote in message
news:OhrEgqfiEHA.1048@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.codecomments.com ***
> Don't just participate in USENET...get rewarded for it!
| |
| Jason . 2004-08-24, 7:05 pm |
| 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.codecomments.com ***
Don't just participate in USENET...get rewarded for it!
| |
| Curt_C [MVP] 2004-08-25, 5:58 pm |
| 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 ." <jrp210@yahoo.com> wrote in message
news:u%23c0eGgiEHA.204@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.codecomments.com ***
> Don't just participate in USENET...get rewarded for it!
| |
| Larry Bud 2004-08-25, 5:58 pm |
| Jason . <jrp210@yahoo.com> wrote in message news:<u#c0eGgiEHA.204@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?
|
|
|
|