This is a migrated thread and some comments may be shown as answers.

When checkbox is checked print document

1 Answer 61 Views
Grid
This is a migrated thread and some comments may be shown as answers.
KawaUser
Top achievements
Rank 2
KawaUser asked on 12 Aug 2011, 05:52 PM
This is probably simple.

I need to print a document when a checkbox is checked. I have all the information out of the grid (file name). I think the problem is that the files are on the server and this code won't work:
Dim Print As New System.Diagnostics.ProcessStartInfo()
Print.Verb = "print"
Print.WindowStyle = ProcessWindowStyle.Hidden
Print.FileName = fullpath
Print.UseShellExecute = True
System.Diagnostics.Process.Start(Print)

Is there a way to print a document that is on the server and print it on the clients machine

I also need to do something similar to this, but I need to start a download for documents that is checkbox.selected = true

Thanks,
Chuck

1 Answer, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 18 Aug 2011, 08:53 AM
Hello Kawauser,

You can examine the following resources to see how to print in ASP.NET:
How to print a file w/o user interaction
Printing in ASP.NET

Please note that this topic is not directly connected to RadControls for ASP.NET AJAX which we support, so I suggest that you search for information in general resources like MSDN, Stack Overflow and etc.

Best wishes,
Mira
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
KawaUser
Top achievements
Rank 2
Answers by
Mira
Telerik team
Share this question
or