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

Automationid may only be set one time.

Thread ID:

Created:

Updated:

Platform:

Replies:

146955 Aug 26,2019 09:59 PM UTC Aug 28,2019 08:59 AM UTC Xamarin.Forms 4
loading
Tags: PdfViewer
Pete Vickers
Asked On August 26, 2019 09:59 PM UTC

Hi,
I have a navigation drawer with a list of PDF files.
When I select an item from the list view, I do pdfViewerControl.Unload(); and then reload the new one with

fileStream = typeof(App).GetTypeInfo().Assembly.GetManifestResourceStream(string.Format("MyRestaurant.Assets.{0}",menuname));
//Load the PDF
pdfViewerControl.LoadDocument(fileStream);

The first time this happens it loads the PDF file with no problem. Choose another from the menu and I get the error message - any ideas?

Thanks

Pete

Gayathri Ramalingam [Syncfusion]
Replied On August 27, 2019 01:10 PM UTC

Hi Pete,  
  
We have tried to reproduce the issue “Application crashes while loading PDF document after unloading PDF Viewer”, but it is working fine as expected. Kindly refer the sample in the below link which we created to reproduce the reported issue.  
 
Kindly share the following details to analyze more on this issue and it will be helpful for us to analyze more on this issue.  
1.       Modify / Simple sample with which the issue could be reproduced.  
2.       Replication procedure to reproduce the issue or screen shot illustrating the issue.  
3.       Android / iOS device specification with the OS version.  
4.       PDF document with which the issue could be reproduced. 
5.       Xamarin.Froms version. 
6.       SfPdfViewer version. 
 
 
With Regards, 
Gayathri R 
 


Pete Vickers
Replied On August 27, 2019 03:24 PM UTC

Hi,
I downloaded that sample and the third time I pressed load I got the error I had (screenshot attached)

Thanks

Pete

Attachment: pdfErrorSF_38d1041.zip

Pete Vickers
Replied On August 28, 2019 07:22 AM UTC

Hi,
I have disabled the tool bar and all works fine now

Pete

Gayathri Ramalingam [Syncfusion]
Replied On August 28, 2019 08:59 AM UTC

Hi Pete, 
 
Thank you for your update. We are glad to know that the issue is resolved. 
 
 
With Regards, 
Gayathri R 


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