Hi
You need to focus on the frame you want to print
parent.FRAME_TOPRINT_NAME.focus();
print();
--
Best Regards
Vidar Petursson
==============================
Microsoft Scripting MVP
http://www.microsoft.com/technet/scriptcenter
==============================
"mark" <ma**@remove.com> wrote in message news:7Qlrc.34$9d6.3@newsfe5-win...
im printing pages using
RegisterStartupScript("startupScript", "<script
language='javascript'>window.print();</script>")
in code behind
how do i do this to only print the main frame ?
thanks
mark