Query |
Details |
I have an ASP.NET MVC 5 app being built in Visual Studio 2015. The app needs to display some PDF documents to the users and allow them to download, print, and email the files. Is that possible with the Syncfusion PDF controls? |
PDF Viewer control provides support to view, download and print the PDF document in ASP.NET MVC applications. We do not support e-mailing the PDF documents using PDF viewer control. But as workaround, we can mail the PDF document from the PDF viewer control using SmtpClient. We have created a sample to demonstrate the same in ASP.NET MVC 5 application. You can download the sample from the following link.
In the above sample, the PDF document loads in the PDF viewer control. We have provided a link to another view where mailing details for the PDF document are provided.
Note: Please ensure the content type of the attachment of the mail in the sample. Also please ensure to provide your e-mail id in the mailSettings in the web.config file.
|
I'm looking for some technical documentation on the PDF controls to see how you toggle various options on/off, set up the control for use, give it a PDF document, etc |
After your recent update, we came to know that you have found the UG documentation for PDF and PDF viewer controls. You can also visit the below documentation for API available in the PDF viewer control.
|
Thank you, Sabari Anand. That was the exact information I needed! Your help is very much appreciated.
And also thank you for such a wonderful library of products!