This question is locked. New answers and comments are not allowed.
Hi
I want to print a pdf stream. To achieve this, I download the stream from server (via a WCF service that generates the pdf on the fly) then, I create a RadPdfViewer on the fly, set the DocumentSource to a PdfDocumentSource with the downloaded stream and when the PdfDocumentSource loaded event is raised I call the Print method on the PdfViewer. The result is that nothing happens. Setting a breakpoint on the PdfDocumentSource.Loaded event I can see that PdfViewer.DocumentSource property is notifying an UnauthorizedAccesException.
Any help?
I want to print a pdf stream. To achieve this, I download the stream from server (via a WCF service that generates the pdf on the fly) then, I create a RadPdfViewer on the fly, set the DocumentSource to a PdfDocumentSource with the downloaded stream and when the PdfDocumentSource loaded event is raised I call the Print method on the PdfViewer. The result is that nothing happens. Setting a breakpoint on the PdfDocumentSource.Loaded event I can see that PdfViewer.DocumentSource property is notifying an UnauthorizedAccesException.
Any help?