
danparker276
Top achievements
Rank 2
danparker276
asked on 22 Aug 2012, 07:32 PM
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.
5 Answers, 1 is accepted
0
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
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 >
0

danparker276
Top achievements
Rank 2
answered on 23 Aug 2012, 05:49 PM
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.
0
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
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 >
0

srecov
Top achievements
Rank 1
answered on 21 Jan 2015, 10:44 PM
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
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
0