Hi
I want Print a page .aspx from another page .aspx in the same site.
Is it possible ? and How ?
Thank you
Hi
I want Print a page .aspx from another page .aspx in the same site.
Is it possible ? and How ?
Thank you
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mauro PapaPosted Jun 12, 2008, 7:05 AM
Niradhip ChakrabortyPosted Jun 12, 2008, 7:02 AM
Hey,I've had to do stuff like this before, and this is the best solution I've been able to come up with.
My source page has a very simple javascript function:
CODE:
function openwin(where) {
window.open(where,"TempWindow","width=300,height=210,resizable=yes,status=yes")
}
With a link somewhere in the page:
CODE:
Click me!
And on the page you're linking to, add this code to the body tag:
CODE:
It's not entirely seamless; the user will see the popup and the print dialogue, but as soon as the click the button on the dialogue, the pop-up will close.