Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User Notification

Status
Not open for further replies.

Mighty

Programmer
Feb 22, 2001
1,682
US
I have a number of ASP form pages. The user selects some options and the form action page processes the input. However, some of this processing is complex and takes some time.

I would like to be able to display a message to the user while this processing is going on - something along the lines of: input is being processed, please be patient. Then when the page has completed processing, the message disappears.

Any suggestions on how I can do this. i have been trying pop-up windows and response.flush but I haven't been able to get a good solution yet. Mise Le Meas,

Mighty :)
 
Ah yes, the ever sought after functional progress message -----

thread216-84639

is a thread where I asked how to obtain a reference on a later page to a window opened on a previous page. Theoretically (meaning I haven't actually done it), you could load up a page with all your desired variables, assign them to javascript variables, open up a window that would display a message, and then redirect the parent window to the processing asp page with the javascript
Code:
location='lala.com?var=value&var=value';
to pass all your variables along via querystring, and then do your processing on that page.

You'd have to handle your focus on the popup window with something like:

if window.blur() then window.focus() or something like that to keep it on top --

Then, on the parent window, you do your processing while the child stays on top, and then using the methods that kb244 and others suggested on that thread, get your reference back to the window and then close it. --

WHEW!! Seems like a whole lotta work, though, doesn't it???

-----------

One time, though, what I did was response.write a span to the screen along the very top that was a static message, and then once the page finished loading (I put in a body onLoad event), I wiped out the contents of that span. The method worked pretty well, but the only problem was that it left a little blank space at the top of the page. It wasn't a problem with the particular application that I was developing, but depending on how much design work went into your page, it may throw off your aesthetics...

Wish I could help more.

paul
penny.gif
penny.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top