CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Close popup window after insert

Print topic Send  topic

Author Message
Raghu
Posted: 01/12/2004, 8:19 AM

Hi

I need to close a popupwindow once the record insert has completed and refresh the opener.

I have some js that the user can click on to close and refreshes the opener.

Help need for closing a popup after a record action.

Thx
Edd


Posts: 547
Posted: 01/12/2004, 1:53 PM

Call a blank HTML page with a redirect after update - let the Blank HTML page, on the ONLOAD event, call a javascript function on the calling page to refresh your it and the close itself.
_________________
Accepting and instigating change are life's challenges.

http://www.syntech.com.au
View profile  Send private message
EMG


Posts: 35
Posted: 01/13/2004, 9:59 AM

Add the following after_update server side event:

response.write "<script>window.opener.location.reload();window.close();</script>"

response.end
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.