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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open a Pop Up from an ASP, then Close it from an ASP?

Status
Not open for further replies.

Rexolio

Technical User
Aug 29, 2001
230
Is there a way to have a pop up window appear from an ASP (say when someone clicks "submit" on a form) and then once the form processes and goes to the next page, have that ASP close the pop up window?

I'm having a problem where one of my forms that adds info to a database takes a while to run sometimes, depending on how much data it has to process. Its a pretty large form. My users end up just seeing a blank page, and often if it takes too long they start hitting the back button or they close their browser, so the data is incomplete. If they were to wait, eventually it would redirect to the confirmation page. I've tried everything under the sun, but a pop up window would work the best. But I want it to close once the processing is over and the confirmation page appears. Suggestions / Ideas???
 
check this thread out
thread253-310838

shows how to open a popup or in asp dialog box and should be what your looking for [bomb]
I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
admin@onpntwebdesigns.com
 
Thanks onpnt. Actually, I kept thinking on it and think I came up with a pretty nifty solution utilizing javascript pop ups. When a user clicks the submit button, a pop up window appears telling the user that it may take several seconds. This window stays there until the main browser window loads the confirmation page after the form data has been processes. The confirmation page in the main browser window then loads a new window into the pop up saying "DONE" and then it closes within a few second.

If anyone wants the script, just drop me an email at rexolio@bellsouth.net

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top