When checkbox is checked print document

2 posts, 0 answers
  1. KawaUser
    KawaUser avatar
    59 posts
    Member since:
    Oct 2010

    Posted 12 Aug 2011 Link to this post

    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

    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

  2. Mira
    Mira avatar
    1124 posts

    Posted 18 Aug 2011 Link to this post

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

Back to Top