PdfViewer print makes UI unresponsive

2 posts, 0 answers
  1. Mike U.
    Mike U. avatar
    1 posts
    Member since:
    Jul 2009

    Posted 12 Jul 2016 Link to this post

    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


    any other solution that would help to implement asynchronous printing?

  2. Deyan
    Deyan avatar
    158 posts

    Posted 14 Jul 2016 Link to this post

    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.

    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top