473,767 Members | 1,695 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to display a Wait page while a query is running?

If I am running a long time query, how to show a wait page at then? Is there
any recommended way to do it? Thanks.

Jun 27 '08 #1
4 5401
"Simon" <Si****@nospam. nospamwrote in message
news:eK******** ******@TK2MSFTN GP06.phx.gbl...
If I am running a long time query, how to show a wait page at then? Is
there any recommended way to do it?
http://www.google.co.uk/search?sourc...+Ajax+Progress
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jun 27 '08 #2
Hi Simon,

Sure, for long-run task and waiting page, there are many existing articles
describe how to build a asynchornous processing model and waiting page:

#Building a Better Wait Page
http://www.codeproject.com/KB/aspnet/wait_page.aspx

#Implementing Waiting Pages in ASP.NET
http://www.simple-talk.com/dotnet/as...g-pages-in-asp.
net/

here are some other reference about long-run pattern in ASP.NET web
application:

#Executing Long-Running Tasks with the Progress Bar in ASP.NET
http://www.aspfree.com/c/a/VB.NET/Ex...with-the-Progr
ess-Bar-in-ASPNET/

#ASP.NET: Long Running Tasks with Page Feedback
http://www.eggheadcafe.com/articles/20051223.asp

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>Reply-To: "Simon" <Si****@nospam. nospam>
From: "Simon" <Si****@nospam. nospam>
Subject: How to display a Wait page while a query is running?
Date: Thu, 8 May 2008 11:46:33 +0800
>
If I am running a long time query, how to show a wait page at then? Is
there
>any recommended way to do it? Thanks.

Jun 27 '08 #3
Thanks very much, Mark and Steven. It is helpful.

"Steven Cheng [MSFT]" <st*****@online .microsoft.comw rote in message
news:O3******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi Simon,

Sure, for long-run task and waiting page, there are many existing articles
describe how to build a asynchornous processing model and waiting page:

#Building a Better Wait Page
http://www.codeproject.com/KB/aspnet/wait_page.aspx

#Implementing Waiting Pages in ASP.NET
http://www.simple-talk.com/dotnet/as...g-pages-in-asp.
net/

here are some other reference about long-run pattern in ASP.NET web
application:

#Executing Long-Running Tasks with the Progress Bar in ASP.NET
http://www.aspfree.com/c/a/VB.NET/Ex...with-the-Progr
ess-Bar-in-ASPNET/

#ASP.NET: Long Running Tasks with Page Feedback
http://www.eggheadcafe.com/articles/20051223.asp

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no
rights.

--------------------
>>Reply-To: "Simon" <Si****@nospam. nospam>
From: "Simon" <Si****@nospam. nospam>
Subject: How to display a Wait page while a query is running?
Date: Thu, 8 May 2008 11:46:33 +0800
>>
If I am running a long time query, how to show a wait page at then? Is
there
>>any recommended way to do it? Thanks.

Jun 27 '08 #4
You're welcome Simon,

If there is anything else we can help, welcome to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>Reply-To: "Simon" <Si****@nospam. nospam>
From: "Simon" <Si****@nospam. nospam>
References: <eK************ **@TK2MSFTNGP06 .phx.gbl>
<O3************ **@TK2MSFTNGHUB 02.phx.gbl>
>In-Reply-To: <O3************ **@TK2MSFTNGHUB 02.phx.gbl>
Subject: Re: How to display a Wait page while a query is running?
Date: Fri, 9 May 2008 09:48:08 +0800
>Thanks very much, Mark and Steven. It is helpful.

"Steven Cheng [MSFT]" <st*****@online .microsoft.comw rote in message
news:O3******* *******@TK2MSFT NGHUB02.phx.gbl ...
>Hi Simon,

Sure, for long-run task and waiting page, there are many existing
articles
>describe how to build a asynchornous processing model and waiting page:

#Building a Better Wait Page
http://www.codeproject.com/KB/aspnet/wait_page.aspx

#Implementin g Waiting Pages in ASP.NET
http://www.simple-talk.com/dotnet/as...g-pages-in-asp.
>net/

here are some other reference about long-run pattern in ASP.NET web
application:

#Executing Long-Running Tasks with the Progress Bar in ASP.NET
http://www.aspfree.com/c/a/VB.NET/Ex...with-the-Progr
>ess-Bar-in-ASPNET/

#ASP.NET: Long Running Tasks with Page Feedback
http://www.eggheadcafe.com/articles/20051223.asp

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Jun 27 '08 #5

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

Similar topics

1
1400
by: baltimore | last post by:
Hi, I look for a script allowing to display a page in a frame as from a link in a pop up (and close it in the same time The name of my frame is "body" In the pop up i try this function in the head section : function reroutage() { parent.frames.window.location="assistance.htm"; window.close();
4
9136
by: Stephajn Craig | last post by:
I have one page that may take a while to process on the server, and I'd like to implement a please wait message on this page when it posts back to the server and does its business. The page is an ASP.NET webform that contains a Web User Control. The Web User Control is doing all of the work posting. How can I inform the user of what is happening at the server while the data from this web user control is being processed? --
1
1844
by: joe kenney | last post by:
I have a question on designing a please wait aspx page. Currently I have a test.aspx page with codebehind page and page_onload contains my stored procedure calls. I've create something similar in old asp so I've try similiar method and I sort of got it work however my please wait message gets display the same time as my data so is there a way to display what's in my <div> tag first, then executed page_onload for my stored procedure...
2
1526
by: Matt Culbreth | last post by:
Hello, I've got a fairly typical request to show a "Plese Wait" page while a long process is running. In this case, the user fills out a form, presses the button, a process searches for items, and in about 6 seconds it is returned. I've read up on the normal ways of doing this with a new Thread() or with a META tag to refresh the page, but it seems most of these methods use Session. We're not using Session at all in our web
4
1860
by: PinellasBoy | last post by:
I have an stored procedure which takes long time to execute. So I am trying to execute the procedure in another thread by using the thread start function. After the SP starts processing I want to take the user to a "wait" page and then return them after the processing is over. The wait page has http-refresh header which takes it back to the starting page. Once the starting page has reloaded in page_load procedure I would like to check...
4
3502
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...
0
1137
by: Gentian Hila | last post by:
I have a crystal report that is being displayed on the web (asp.net – VS studio 2003). I use a wait page, a very simple one, to tell the user to wait until the report is displayed, simply text, no graphics or animation at all. I use the location.replace in the wait page just as you recommend in a msdn article. It works fine as long as it redirects to an asp.net page. But I use the following function to display a pdf file and then...
5
4323
by: zlf | last post by:
Hello, I try to use a custom HttpHandler to add something to session, then display the original page. public void ProcessRequest(HttpContext context) { context.Session = "test"; } But, a empty page is rendered with this HttpHandler, should I add some
2
3202
by: digituf | last post by:
i have 2 forms here. 1) DisplayDetails.php 2) RegistrationForm.php when user click to the link 'Next' at the DisplayDetails.php page it will bring all the session value to the RegistrationForm.php page. But, there's also value which is not session which is i) $room_type so, at the RegistrationForm, i wanted to passed all the values from the DisplayDetails.php into mysql query to insert into database.After i test it, all the data...
0
9571
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
10169
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
10013
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...
0
9841
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...
1
7383
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...
0
6655
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5280
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3533
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2807
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.