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

Issues with PrintingCompleted event

1 Answer 41 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
GEB
Top achievements
Rank 1
GEB asked on 27 Sep 2010, 06:23 PM
I am building a RadDocument in code-behind, then using this method to print the document without displaying it.  However, I have found that on many occasions, I never receive the PrintingCompleted event.  I am using the Silverlight printmode.  And, it can occur regardless of the destination printer or device.  Is this a known issue?

Also, once the Print() method has been called, is there any way of cancelling the request through code-behind? 

1 Answer, 1 is accepted

Sort by
0
Mike
Telerik team
answered on 28 Sep 2010, 10:49 AM
Hello GEB,

The PrintingCompleted event is fired always when the underlying Silverlight PrintDocument object raises its EndPrint event. I am afraid when the document contains more pages, Silverlight printing is very, very slow and this is most probably related the problem with not receiving the PrintingCompleted event.

Unfortunately the performance of this printing approach is out of our control. Also we did not find any API to cancel Silverlight print request while it is running. What we can do is add a method in RadRichTextBox for canceling printing of the next page for the upcoming release, but currently such method is not available. Let us know if we can help further at this point.

Sincerely yours,
Mike
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
RichTextBox
Asked by
GEB
Top achievements
Rank 1
Answers by
Mike
Telerik team
Share this question
or