PDF Viewer not displaying pdf

When using the documentation to get a sample PDFViewer up and running I always seem to end up with the pdf viewer showing but it will not display the pdf. I have implemented everything exactly as the example says step by step and still no luck. Is this outdated and is there something else I need to do? Here is a picture:



1 Reply

SA Sabari Anand Senthamarai Kannan Syncfusion Team February 22, 2018 01:07 PM UTC

Hi Matthew, 

Thank you for contacting Syncfusion support. 

We have created a ASP.NET MVC application with the PDF viewer control as given in our UG documentation. We use API controller for loading and processing the PDF document in the server side. While creating the API controller, WebApiConfig class will be available in the App_Start folder of the directory of the application. We need to configure the WebApiConfig class in the Global.asax.cs file of the application for sending the requests from the client to the server. Please include the below code snippet in the Application_Start() method of  Global.asax.cs file for configuring the API controller.  

Code Snippet

WebApiConfig.Register(GlobalConfiguration.Configuration); 


Please find the created application below for your reference. 


Please let us know if you need any further assistance. 

Regards, 
Sabari Anand 


Loader.
Up arrow icon