Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 28th, 2004, 05:32 AM
Friend of Wrox
Join Date: Oct 2004
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default Printing Window in Frame


I have an asp page which uses a frame to show a report of customers. I need to print the report in frame. The "PRINT" link is outside the frame.

Any idea..
Any help...
Will be really appriciated...

Thank you
Zeeshan Ahmed

Old December 31st, 2004, 01:18 AM
Friend of Wrox
Join Date: Oct 2003
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp

You can use frame.print command of JavaScript.

Let fraReport be the name of the form where your report appears. You can put the following script in the onClick event of print button


When the print button is in a frame in the same level of fraReport.

If print button is not in a frame in the same level as fraReport(fraReport is an IFrame or print button is already in the parent frame of fraReport), then you can use


Similar Threads
Thread Thread Starter Forum Replies Last Post
parsing form data from frame to other frame audio-catalyst Classic ASP Basics 5 January 3rd, 2006 02:57 PM
Call right frame Page_Load event from left frame. ochanarachel Classic ASP Basics 0 January 28th, 2005 05:13 AM
Printing Report in Bottom Frame itHighway Classic ASP Basics 2 December 29th, 2004 08:31 PM
Images in Frame AWT Window cyrusds_asp Java GUI 1 November 2nd, 2003 09:05 PM
Printing a child window (containing a pdf) nickodemus Javascript How-To 0 October 8th, 2003 06:03 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.