balachandar
Programmer
Hi all,
I am using two frames in an ASP page. In the first page I have two buttons print,close. In the second frame I have data in a table.
When the print button is clicked the data has to be printed.I tried using Window.frames(0).print in the click event.I also tried window.frames(1).print. Both cause the top frmae to be printed.(Frmae having buttons). I also tried using the names of the frames in the above statement. Still I got the wrong frame getting printed. Can any one explain what needs to be done to fix this.
The requirement is when print button is clicked data on the page has to be printed but the buttons should not appear in the report. That is the reason why two frames were used.
Regards
Balachandar
I am using two frames in an ASP page. In the first page I have two buttons print,close. In the second frame I have data in a table.
When the print button is clicked the data has to be printed.I tried using Window.frames(0).print in the click event.I also tried window.frames(1).print. Both cause the top frmae to be printed.(Frmae having buttons). I also tried using the names of the frames in the above statement. Still I got the wrong frame getting printed. Can any one explain what needs to be done to fix this.
The requirement is when print button is clicked data on the page has to be printed but the buttons should not appear in the report. That is the reason why two frames were used.
Regards
Balachandar