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. Image for the cookie policy date
close icon

PdfDocumentView problems

When I click on hyperlink like email, it crashes with exception "The system cannot find the file specified". Here its few first lines of stack trace.

   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start(String fileName)
   at Syncfusion.Windows.PdfViewer.CustomVPanel.CustomVPanel_MouseLeftButtonUp(Object sender, MouseButtonEventArgs e)


Also, when a document is reloaded, it forgets its last zoom percentage and scroll locations. I can save the ZoomPercentage in local variable before reload the pdf document, but scrolling doesn't work. Can there be built in feature to do that ?

3 Replies

AS Aravindh Sathiyamoorthy Syncfusion Team September 20, 2019 01:45 PM UTC

Hi John, 
 
We have created a simple sample to reproduce the reported issue “Exception thrown when click on hyperlink” and “Scrolling is not properly working when reloading the PDF document” in our side, but the behavior is working as expected. Please find the sample in the below link for your reference. 
  
  
Kindly share the following details to analyze more on this issue and assist you with the better solution  
1.       Simple sample/ modify the above sample with the issue document to reproduce the issue. 
2.       Replication procedure to reproduce the issue. 
 
Regards, 
Aravindh Sathiyamoorthy. 



JO John replied to Aravindh Sathiyamoorthy September 25, 2019 05:22 AM UTC

Hi John, 
 
We have created a simple sample to reproduce the reported issue “Exception thrown when click on hyperlink” and “Scrolling is not properly working when reloading the PDF document” in our side, but the behavior is working as expected. Please find the sample in the below link for your reference. 
  
  
Kindly share the following details to analyze more on this issue and assist you with the better solution  
1.       Simple sample/ modify the above sample with the issue document to reproduce the issue. 
2.       Replication procedure to reproduce the issue. 
 
Regards, 
Aravindh Sathiyamoorthy. 


You're using PdfViewerControl and I asked about PdfDocumentView.

Also I have updated the code to show it resets the zoom and scroll location if refreshing the file or pdf document.

Attachment: 147674__Updated_d4dc2590.zip


AS Aravindh Sathiyamoorthy Syncfusion Team September 26, 2019 01:39 PM UTC

Hi John, 

We have checked the modified sample provided by you and we could see that the sample contains PdfViewerControl only not PdfDocumentView as you said. However, we can able to reproduce the issue in our side and that can be resolved in sample side itself. Please find the modified sample for the same from below, 


Kindly use the above sample and let us know whether it meets your requirement or not. If not, kindly share the following details  

1.       Share a simple sample / modify the above sample to reproduce the issue. 
2.       Replication steps for the issue. 
3.       Product version of PdfDocumentView.  

Regards, 

Aravindh Sathiyamoorthy. 


Loader.
Live Chat Icon For mobile
Up arrow icon