Implement a Print button on ASP.NET webpage.

  • Thread starter Thread starter Jurjen de Groot
  • Start date Start date
J

Jurjen de Groot

I would like to implement a button which will, upon click, print the current
webpage.

I have no idea where to begin, I think I need some sort of client scripting
but I suppose there's a simple solution for this...


Kind regards,


Jurjen de Groot
Netherlands.
 
hi

you can use basic javascript command "window.print" but that is just like
calling print from the browser print command.

if you want some more advanced printing functionality(Like predefining print
type/ landscape or portrait etc.) then you have to use some activex control
on your web page

HTH
Vaibhav
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top