473,402 Members | 2,061 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,402 software developers and data experts.

Please Wait ... Processing Data Screen

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 (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 18 '05 #1
3 5703
On Sat, 21 Aug 2004 00:59:01 GMT, Lucas Tam <RE********@rogers.com> wrote:
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.

The best design:
http://msdn.microsoft.com/msdnmag/is...esignPatterns/

You can also do something similar that's a little simpler by just
redirecting 'thru' a wait page. I've used this concept before: if you
load a page in the browser, and in its body onload you redirect to another
page, the first page will stay loaded on the screen until some response
data is received. So as long as buffer=true, you could create a wait page
and insert it into the flow:

page 1 ---redirects to
wait page ---via JS, navigates to
page 2 ---a long-running page with buffer=true

and in your wait page you can put one of those animated gifs...
--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
Nov 18 '05 #2
another approach is to set a div tag containing the message to invisible in
the onload page function in script. on the server, use attributes to map a
buttons click event to make the div tag visible. when the page loads, the
message goes away. while the page is being loaded, the message is present.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"Craig Deelsnyder" <cdeelsny@no_spam_4_meyahoo.com> wrote in message
news:opsc2ex8y675dg5d@cowboy...
On Sat, 21 Aug 2004 00:59:01 GMT, Lucas Tam <RE********@rogers.com> wrote:
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.

The best design:
http://msdn.microsoft.com/msdnmag/is...esignPatterns/

You can also do something similar that's a little simpler by just
redirecting 'thru' a wait page. I've used this concept before: if you
load a page in the browser, and in its body onload you redirect to another
page, the first page will stay loaded on the screen until some response
data is received. So as long as buffer=true, you could create a wait page
and insert it into the flow:

page 1 ---redirects to
wait page ---via JS, navigates to
page 2 ---a long-running page with buffer=true

and in your wait page you can put one of those animated gifs...
--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET

Nov 18 '05 #3
"Craig Deelsnyder" <cdeelsny@no_spam_4_meyahoo.com> wrote in
news:opsc2ex8y675dg5d@cowboy:
The best design:
http://msdn.microsoft.com/msdnmag/is...esignPatterns/


This pattern worked. I modified it a bit to use a thread so I don't need to
hardcode the processing time value : )

Thanks for your help!

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 18 '05 #4

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

Similar topics

0
by: Pudibund | last post by:
Ok, I've spent nearly a week trying to sort what should be an easy task to accomplish but I'm totally flumoxed! I want to do something pretty simple... 1. display image1 2. wait until...
1
by: batham | last post by:
Gurus, I have a mainpage.aspx webform, in the page load of this page I am displaying a text "Please wait connecting..." and then I want the user to see this output on the WebForm, while I do...
9
by: Roger Down | last post by:
Lets say I have a method UpdateCache() called from a single thread. I also have a method GetCache() called from multiple threads. When UpdateCache() is called, the cache updating is being...
4
by: John Martin | last post by:
I have a web site that basically builds and displays reports. Some of the reports take a long time to build (up to 10 minutes). I'd like to display a "Please Wait" screen while the report is being...
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...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
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...
7
by: adamalton | last post by:
Hi, I'm building a site where the user enters some info into a form which submits to a php script. The php script takes a long time to execute (anywhere from 10 seconds to a minute) and when it...
9
by: jodleren | last post by:
Hi I have never done this before... but I could use it now. How do I create a "please wait" page, which will "reload" once my real page is ready? I am talking of a waiting time of some 10-20...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...
0
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...
0
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...

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.