2X faster development
The ultimate WinForms UI toolkit to boost your development speed.
We do not have support for the PDF viewer control in the ASP.NET(Classic). However, as a workaround we can use the ejPdfViewer control as in the below code snippet. Default.html <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js" type="text/javascript"></script> <link href="http://cdn.syncfusion.com/13.4.0.53/js/web/flat-azure/ej.web.all.min.css" rel="stylesheet" /> <script type="text/javascript" src="http://cdn.syncfusion.com/13.4.0.53/js/web/ej.web.all.min.js "></script> </head> <body> <div> <!-- Creating a div tag which will act as a container for ejPdfViewer widget.--> <div id="viewer" style="height: 650px;width: 950px;min-height:404px;" ></div> <!-- initializing ejPdfViewer widget.--> <script type="text/javascript"> $(function () { $("#viewer").ejPdfViewer({ serviceUrl: "/api/PdfViewerAPI" }); }); </script> </div> </body> </html>
PdfViewerAPIController.cs
Sample: http://www.syncfusion.com/downloads/support/directtrac/general/ze/PdfViewerASP1580520605 |
2X faster development
The ultimate WinForms UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.
I want to know the format of this parametre
Load(Dictionary<string, string> jsonResult)