Query |
Details |
We have a licence for ASP.NET Web Forms. Is this licence usable with EJ2 controls |
Our sales team will contact you regarding this shortly. You can contact [email protected] for immediate assistance.
|
I see that there is no EJ2 package that is addressing Web Forms on the server side.
We need to create a service that is loading/saving PDFs from the Oracle database. Previously, we were using ajax call to the service returning base64 string as follows:
'return "data:application/pdf;base64," + Convert.ToBase64String(byteArray)', where byteArray is "raw" pdf data retrieved from the Oracle blob.
The only EJ2 example I found online references AspNet.Core, and it seems that the calling and returning data formats are different then in EJ1.
|
Our PDF Viewer has server side dependency. Please find the below links to create web service project in ASP.NET Core and ASP.NET MVC platforms.
ASP.NET Core: https://www.syncfusion.com/kb/10346/how-to-create-pdf-viewer-web-service-application-in-asp-net-core
We have created simple PDF Viewer sample and shared the same in the following location,
Web Service in ASP.NET Core: https://www.syncfusion.com/downloads/support/directtrac/general/ze/ej2-pdfviewer-web-service1607529642
ASP.NET Web Forms: https://www.syncfusion.com/downloads/support/directtrac/general/ze/EJ2PdfViewer_WebForms-432832470
Note: Kindly run the Web service sample first then provide that url to the serviceUrl property of the PDF Viewer.
Please find the below to link to load the PDF document as base64 string in PDF Viewer
Please find the below link for Migrating from EJ1 PdfViewer to EJ2 PdfViewer,
Please try this and revert us with more details if you have any concerns on this. |