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

PdfDocumentView problems

Thread ID:

Created:

Updated:

Platform:

Replies:

147674 Sep 19,2019 08:38 AM UTC Sep 26,2019 01:39 PM UTC WPF 3
loading
Tags: PdfViewer
John
Asked On September 19, 2019 08:38 AM UTC

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 ?

Aravindh Sathiyamoorthy [Syncfusion]
Replied On 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. 


John
Replied On 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

Aravindh Sathiyamoorthy [Syncfusion]
Replied On 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. 


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