Getting Started: Load PDF documents from client side

Hi,

i try to test your "Getting-Started"-example and load the pdf document from client side.
It looks like the control loads the pdf, as i can see 7 pages loaded, and i can search in the document, but i cant see anything in the control.
Also the menubar of the control is quite big and the text area is only very small.
Can you please check, what i made wrong? 

Thanks a lot.
Matthias

Attachment: PdfViewerGettingStarted_53ccab87.zip

5 Replies

AA Akshaya Arivoli Syncfusion Team March 20, 2020 07:26 AM UTC

Hi Matthias, 

Thank you for contacting Syncfusion support. 

We can reproduce the reported issue, on analyzing we found that CSS files are not referred properly so the reported issue occurs. We have modified the provided sample and shared the same in the following location. 


Please try it and revert us with more details if you still have concerns. 

Regards, 
Akshaya 



MW Matthias Wagner March 24, 2020 02:55 PM UTC

Thx for your help, this fixed my problem. 
Although i got another problem, when i wanted not to load your example pdf "HTTP Succinctly". 
I try to load a sample pdf document from the App_Data-Folder in this project, which runs in an error.
Is it possible to pass a path to the Load-Method, as in my example? How would i load the pdf-Document in the app_data folder?

Best regards.

Attachment: PdfViewer_fe9f7c79.zip


AA Akshaya Arivoli Syncfusion Team March 25, 2020 06:34 AM UTC

Hi Matthias, 

Thank you for your update. 

We have analyzed the provided sample and found that you have used remote serviceUrl so the document is not loaded from your App_Data. So, we have created the sample by including the PDF Viewer Web API service and shared the same in the following location, 


Please find the below link to create PDF Viewer Web service, 


Please try it and revert us with more details about your issue and the modified sample if you are still facing the issue. 

Regards, 
Akshaya 



MW Matthias Wagner March 31, 2020 09:15 AM UTC

Thx for ur help, works now :-)


AA Akshaya Arivoli Syncfusion Team April 1, 2020 05:38 AM UTC

Hi Matthias, 

We are glad to hear the reported issue was resolved. Please revert us if you have any concerns. We are always happy to assist you. 

Regards, 
Akshaya 


Loader.
Up arrow icon