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)
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 ?
SIGN IN To post a reply.
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.
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 solution1. 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.
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
JO John
- Sep 19, 2019 08:38 AM UTC
- Sep 26, 2019 01:39 PM UTC