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

Checking When Print Popup Window Closes.

2 Answers 107 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 03 Apr 2020, 04:11 PM
I am working on a screen in clicking a button runs the RadRichTextBox.Print() method, using either Html or HtmlPreview as parameters depending on which button you pressed.  If I double click a button, there is a chance that I will get an "Eval failed" error.  When I close the popup that displays the document, the error doesn't occur.  Is there any way to check if that window is closed?  If so, I could disable the functionality until the window is closed.  

2 Answers, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 06 Apr 2020, 01:37 PM

Hi Bob,

RadRichTextBox exposes the PrintCompleted event that could help you achieve the desired behavior.

Hope this information is useful.

Regards,
Tanya
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Bob
Top achievements
Rank 1
answered on 07 Apr 2020, 02:08 PM
Thanks for the help.  I will give this a try.
Tags
RichTextBox
Asked by
Bob
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Bob
Top achievements
Rank 1
Share this question
or