Forum Moderators: open

Message Too Old, No Replies

Show printdialog for a remote file in asp.net

print dialog box should handle the remote file which is in a url

         

lakshmiramya

4:43 am on Dec 23, 2008 (gmt 0)

10+ Year Member



Hi,

In my application iam using asp.net 1.1, i have a webpage consists of a link called "print". Onclick of this link needs to display the printdialog which will handle the file (either from the local path or the remote server url).

Please help me in this regard.

Thanks in advance.

Regards,
Lakshmi Ramya.

mattglet

3:47 am on Dec 26, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think you're looking for a simple JavaScript call:

<a href = "javascript:window.print();return false;">Click me to print</a>