Print a report directly at client-side without displaying it in an ASP.NET ReportViewer

2 posts, 0 answers
  1. Hinata
    Hinata avatar
    146 posts
    Member since:
    Dec 2013

    Posted 14 Dec 2013 Link to this post

    Requirements

    Telerik Reporting version Q3 2013+
    .NET version 4.0+
    Visual Studio version VS 2012 Professional +
    programming language C#
    To convert code

    Telerik online converter


    PROJECT DESCRIPTION

    With this code it is possible to print a report directly at client-side without displaying it in an ASP.NET ReportViewer.
    This is possible due to including the following JavaScript which will invoke the PDF object's print method and send the document to the default printer. With the setting below there will be required user interaction by showing a print dialog, and the document is shrunk to fit the imageable area of the pages:
    deviceInfo["JavaScript"] = "this.print({bUI: true, bSilent: false, bShrinkToFit: true});";
        

  2. Stef
    Admin
    Stef avatar
    3047 posts

    Posted 05 Apr Link to this post

    Hello everyone,

    New KB article with more examples - Print a report directly at client-side without displaying it in a Viewer.

    Regards,
    Stef
    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