Direct Printing of Report In Web Environment

2 posts, 0 answers
  1. Steven
    Steven avatar
    2 posts
    Member since:
    Jul 2015

    Posted 16 Feb Link to this post

    Do we are trying to come up with a solution for being able to print a Telerik report without viewing it in a HTML5 web application.  Our client is HTML5/Javascript and the backend is RESTful web services and implementation of Websockets using Microsoft SignalR.  Each client connects to the SignalR hub and therefore we have the ability to trigger client JavaScript methods from the web services or trigger hub methods from the HTML5/JavaScript clients.

    At times we want to be able to print a report by clicking a button on the UI and have this pop up the bowser printer dialog without previewing the report in the HTML5 report viewer.

    Looking for ideas from others that have similar functionality in their web applications.  Approaches taken and results.

    Thank you,

    Steve

  2. Rick
    Admin
    Rick avatar
    13 posts

    Posted 21 Feb Link to this post

    Hello Steven,

    You can open a print dialog for a Report without previewing in the ReportViewer by programmatically exporting the report to a PDF, which can be opened and printed by the browser client. This approach relies on the client browser having a compatible PDF plugin. Most browsers (except Firefox) come with the required plugin by default. We have documented the process in the following Knowledge Base, which also has a runnable sample attached.

    Print a report directly at client-side without displaying it in a Viewer


    Regards,
    Rick
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top