We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PDF Document - Document Close Event

Thread ID:

Created:

Updated:

Platform:

Replies:

141808 Jan 5,2019 02:46 AM UTC Jan 8,2019 09:13 AM UTC WinForms 3
loading
Tags: PdfViewer
Darrin Edwards
Asked On January 5, 2019 02:46 AM UTC

Hi Guys

When a Document is loaded into the PDFDcoumentView or PDFViewer - an event is fired - DocumentLoaded. I have looked for a DocumentClose event and cannot see it in either control ... this aspect is very important for our program and we would like to see if there is a workaround and when that event will be implemented.

Regards

Darrin


Karthik Krishnaraj [Syncfusion]
Replied On January 7, 2019 11:01 AM UTC

Hi Darrin, 
 
Greetings from Syncfusion, 
 
Currently we haven’t exposed any event to trigger once document closed. So, we would like to know your exact requirement for the requested event. It will be helpful for us to analyze further. 
 
Regards, 
Karthik. 


Darrin Edwards
Replied On January 7, 2019 11:13 AM UTC

Hi Karthik - thank you for the Reply. When a document is unloaded from the viewer, our program needs to perform a number of operations and execute some methods. Currently we use a timer event testing if the viewer has a document loaded (ie IsDocumentLoaded) and if not, then performs those operations and execute those methods. The timer event is unreliable because if a document is unloaded and then a new one loaded within a short space of time, we fail to catch the document being closed and that causes some issues.

MTIA

DWE

Ayswarya Krishna Kumar [Syncfusion]
Replied On January 8, 2019 09:13 AM UTC

Hi Darrin,  
  
Thank you for replying us with the requirements. 
  
As mentioned in our previous update, at present we do not have any event to track the document closing action in the PDF Viewer. We have planned to implement this event for 2019 Volume 1 release which is expected to be available in the month of March, 2019. In case if you require the feature immediately, please create a support incident using Direct Trac, so that we can deliver the patch for this event implementation. 
  
Regards,  
Ayswarya 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon