How to print the pdfviewer codebehide?

2 posts, 0 answers
  1. SHANG JYH
    SHANG JYH avatar
    5 posts
    Member since:
    Jan 2011

    Posted 19 Sep 2012 Link to this post

    I try to use PrintPdfDocumentCommand.Execute, but get error....

    this.PdfViewer.Commands.PrintPdfDocumentCommand.Execute(null);
  2. Kammen
    Admin
    Kammen avatar
    312 posts

    Posted 19 Sep 2012 Link to this post

    Hello Shang,

    The printing in Silverlight must be user initiated. That is why you get an exception when you use either PrintDocumentCommand or RadPdfViewer.Print() method.

    More information about printing in Silverlight can be found here

    Kind regards,
    Kammen
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

  3. DevCraft banner
Back to Top