Can I bypass 'Continue with Print' Dialog?

6 posts, 0 answers
  1. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 22 Aug 2012 Link to this post

    I'm using silverlight reports and my users are asking if I can disable the 'Document Ready. Continue with print?' dialog.  They want to reduce the number of clicks.  They want it to go straight to the OS select a printer screen (I can't get away from that one). I know it sounds minor, but my users always print results instead of writing the results to a file.
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 23 Aug 2012 Link to this post

    Hi,

    The behavior you describe is inherent to the native Silverlight print. We do not show the "Document ready.  Continue with Print?" dialog out of courtesy, but because the Silverlight document print requires that the print is user initiated (see Print Method documentation) and there is even a time frame within which you have to initiate it, otherwise an exception is thrown.

    Kind regards,
    Steve
    the Telerik team

    BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

  3. DevCraft banner
  4. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 23 Aug 2012 Link to this post

    I know it takes time to get the page ready for printing, but can't you just put up a busy signal and go right to the OS print dialog.  That's what I do on other parts of my program where I'm printing XAML.  If it can't be avoided I might just convert the report to PDF and stream the PDF to the user.
  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 24 Aug 2012 Link to this post

    Hello,

    Printing an already loaded XAML page is one thing, the print dialog can appear almost immediately, however when printing a report, we need to load all pages of that report that have not been loaded yet. We cannot show the print dialog before all pages are loaded and when we show it after that, the user needs to initiate the print as indicated in our previous post.

    Greetings,
    Steve
    the Telerik team

    BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

  6. srecov
    srecov avatar
    7 posts
    Member since:
    Jul 2013

    Posted 21 Jan 2015 in reply to Steve Link to this post

    Hi Steve,

    is it possible programmatically set focus on printout button from mentioned dialog or maually close(confirm) it using command keys only?
     
    Best regards
    Srečo
  7. KS
    KS avatar
    165 posts
    Member since:
    Oct 2012

    Posted 24 Jan 2015 in reply to srecov Link to this post

    Hi,

    I believe any interaction with the client machine depends on trust settings, and usually such operations as printing must be 100% user initiated. See here.

    -KS
Back to Top
DevCraft banner