Implement a Print button on ASP.NET webpage.

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.
 
V

Vaibhav

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

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top