473,396 Members | 1,799 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,396 software developers and data experts.

page cycle and long query - tough one

Hi

Basically I call a page that does a very long op
(like very long database query)
and display results (possible on another page)

But I need to display a progress bar
for user to see some progress (dummy but at least something)

no frames

There is an old trick in cgi/ asp
for a page that has a long operation
Response.buffering is set false and
initially div with progress bar is displayed
when page finally fully loads (when op is completed)
onload function makes div invisible

but for web forms does not work it seems
untill page_loads for controls finish nothing is displayed whatsoever

Response.bufferoutput is set to false
But that is where op is performed
or is it?

udeas???

Thanks
GSL
Nov 17 '05 #1
2 1963
You might want to try using a meta refresh tag and run the query in a
different thread...

Here's a good article:

http://www.ftponline.com/vsm/2002_11...tures/chester/

With this you could even have a real progress bar.

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"greg" <gr***@insauctionNOSPAM.com> wrote in message
news:ec*************@TK2MSFTNGP09.phx.gbl...
Hi

Basically I call a page that does a very long op
(like very long database query)
and display results (possible on another page)

But I need to display a progress bar
for user to see some progress (dummy but at least something)

no frames

There is an old trick in cgi/ asp
for a page that has a long operation
Response.buffering is set false and
initially div with progress bar is displayed
when page finally fully loads (when op is completed)
onload function makes div invisible

but for web forms does not work it seems
untill page_loads for controls finish nothing is displayed whatsoever

Response.bufferoutput is set to false
But that is where op is performed
or is it?

udeas???

Thanks
GSL

Nov 17 '05 #2
Hi,

I think you can do the same thing if you set Response.BufferOutput = false
and/or use Reponse.Flush().

Best regards,

Marc Hoeppner
NeoGeo
"greg" <gr***@insauctionNOSPAM.com> wrote in message
news:ec*************@TK2MSFTNGP09.phx.gbl...
Hi

Basically I call a page that does a very long op
(like very long database query)
and display results (possible on another page)

But I need to display a progress bar
for user to see some progress (dummy but at least something)

no frames

There is an old trick in cgi/ asp
for a page that has a long operation
Response.buffering is set false and
initially div with progress bar is displayed
when page finally fully loads (when op is completed)
onload function makes div invisible

but for web forms does not work it seems
untill page_loads for controls finish nothing is displayed whatsoever

Response.bufferoutput is set to false
But that is where op is performed
or is it?

udeas???

Thanks
GSL

Nov 17 '05 #3

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

Similar topics

8
by: MarsFossils | last post by:
I am giving a lunch and learn talk on how to "Create your own Web Page" tomorrow and would like to mention a funny anecdote with an inspiring moral about web page design. Does anybody have any...
0
by: Juan Jose Costello Levien | last post by:
Hello, My name is Juan. I am new to the forum. Here I leave you a problem to see if you can help me. General Description I am developing an application in Visual Basic 6.
1
by: Mike Cooper | last post by:
Hi everyone, This is a tough one. I have a database full of solicitations, identifying a customer and recording initial call, first followup, second followup, etc. My boss want to be able to...
8
by: John Ortt | last post by:
Hi there, I have written the following code to colour cycle the background in one of my forms. The problem is it only cycles from Black to Red and then reverts back to Black. Does anyone...
5
by: Hardy Wang | last post by:
Hi all: I developed a web site, it passed various testing internally. When I put this site in production, I receive some error reports from this site saying "the viewstate is invalid for this page...
2
by: John Lau | last post by:
Hi, Is there documentation that talks about the page lifecycle, the lifecycle of controls on the page, and the rendering of inline code, in a single document? Thanks, John
6
by: MooreSmnith | last post by:
When I navigate to the next page using Response.Rediect("MyNextPage.aspx") current page Page_Load event is called. What I may wrongly understood is that post back will happen whenever there is any...
2
by: Gary W. Smith | last post by:
I have a page that inherits from a base page that is currently overriding all of the On* events. For the most part I'm accomplishing everything I set out to do with the inheritance, but I wanted...
1
by: scottichrosaviakosmos | last post by:
Please solve my issue . i want to develope a search form for which will search the values from a table and fetch the values from the table and show that value in the a gridview. now i am going...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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,...
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
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
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,...

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.