How to ignore popup message while open that pdf file in angular?

Hi guys,

I was using syncfusion pdf viewer in my project but I have one issue with that. when I open pdf file i have see popup message " Web-service is not listening. PDF Viewer depends on web-service for all it's features. Please start the web service to continue. " like this. pls, tell me how to avoid this dialog box here.




3 Replies

VS Vasugi Sivajothi Syncfusion Team November 30, 2021 03:13 PM UTC

Hi Prathipa, 
 
You can hide the error dialog using the showNotificationDialog property. Please refer to the below code snippet and documentation. 
 
Code Snippet: 
 
<ejs-pdfviewer  
      id="pdfViewer"  
      [showNotificationDialog]="false"  
      [serviceUrl]="service"  
      [documentPath]="document"  
      style="height:640px;display:block"  
    ></ejs-pdfviewer>  
  
 
 
 
 
Kindly try this and please confirm whether you have faced an issue only with the particular document? If yes, please share the PDF document in which you have reproduced the issue. And please share the console error details and network tab response details while loading the PDF document. This will be helpful to investigate further and provide the solution at the earliest. 
 
Regards, 
Vasugi. 



PR Prathipa December 8, 2021 06:24 AM UTC

It's working. Thank you!!



DM Dhivyabharathi Mohan Syncfusion Team December 9, 2021 08:05 AM UTC

  
Hi Prathipa, 
  
  
Thank you for your update. We are gald to know that the reported issue is resolved. 
  
 
  
Regards, 
Dhivya. 


Loader.
Up arrow icon