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

PdfViewer print makes UI unresponsive

1 Answer 393 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Mike U.
Top achievements
Rank 1
Mike U. asked on 12 Jul 2016, 11:18 PM

When we print any large (10-500 pages) document  using WPF PdfViewer the UI becomes unresponsive. For the document with 100 pages it might take minutes. Are there any solutions for PdfViewer that improve User Experience printing large documents? To be more specific, is there a way to:

Show the progress bar with number of pages completed and left or % done with "Cancel" printing job button

OR

any other solution that would help to implement asynchronous printing?

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 14 Jul 2016, 01:47 PM
Hello Mike,

Thank you for contacting us.

I am attaching a sample project showing how to extend the default PrintDialog in order to allow async printing operation. The project prints a sample PDF file with RadPdfViewer and you may test with UpdateUI button to see that the UI is responsive during the printing process.

I hope this is helpful.

Regards,
Deyan
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
PDFViewer
Asked by
Mike U.
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or