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

How to print the pdfviewer codebehide?

1 Answer 99 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
SHANG JYH
Top achievements
Rank 1
SHANG JYH asked on 19 Sep 2012, 09:30 AM
I try to use PrintPdfDocumentCommand.Execute, but get error....

this.PdfViewer.Commands.PrintPdfDocumentCommand.Execute(null);

1 Answer, 1 is accepted

Sort by
0
Kammen
Telerik team
answered on 19 Sep 2012, 03:46 PM
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.

Tags
PDFViewer
Asked by
SHANG JYH
Top achievements
Rank 1
Answers by
Kammen
Telerik team
Share this question
or