![]() |
how to print
hello,
i'm a new beginner... i've search on the web - how to make a print function in my system, and luckily i've found it.. one of the statement: 1. Add a PrintDocument component..You can get from toolbox.. actually i dont know where it is..at my toolbox there is nothing similiar with that component...pls help me...(i'm using visual studio.net) thank you |
This is for windows forms, not asp applications.
J |
To control browser printing you are left up to the devices of JavaScript and the browser document object model. The .NET print functionality won't work in the browser.
|
Just to remind u
Code:
document.execCommand('Print');Please keep in mind that it'll print entire page not only a spesial part, so if u need to print spesial part of ur page u'd better to open that part in a new window & ... HTH. Always:), Hovik Melkomian. |
| All times are GMT -4. The time now is 02:02 AM. |
Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.