When I set documentPath with a Pdf url which no longer exists and the serviceUrl throws error, the PDF viewer shows loading icon forever. How to detect if PdfViewer failed to load a documentPath? I would like to show an information message to end user.
AAAkshaya Arivoli Syncfusion Team May 19, 2017 09:21 AM UTC
Thank you for contacting Syncfusion Support.
We have internally handled the error on loading the PDF document which no longer exists in the provided document path from the latest Essential Studio (22.214.171.124). The “documentUnload” event will be triggered because we have internally called unload method if the loaded PDF document does not exist in the document path. So, we request you to upgrade to our latest Essential Studio (126.96.36.199) to use the above API and you can download the same from the below link.
SASabari Anand Senthamarai Kannan Syncfusion Team May 22, 2017 12:13 PM UTC
Thank you for your update.