1. Asp.net page is normal page created by telerik(not mvc), user can input value.
2. I want click one button,i can convert current asp.net page to pfd and send email(this pdf should save in server,and pfd as the attached )
1 Answer, 1 is accepted
0
Petya
Telerik team
answered on 21 Jul 2015, 04:07 PM
Hi wu,
Could you please elaborate whether you are looking for a way to convert documents to PDF or PFD as the two formats are rather different?
The former is supported using several different approaches. Please check my suggestions and the related demos and see how they fit your needs.
One of the options is the Telerik ASP.NET ClientExportManager that was recently introduced. You can see it in action in this demo and see how it fits your needs.
You should be aware that the latter approach converts the HTML you pass to the document model of the library with base class RadFlowDocument. Basically, if there is an element on the HTML page that cannot be converted (mapped) to one in the flow document model, it will be skipped, so there may be some differences between the original page and the exported PDF. Additionally, you might want to take a look at the settings of the HtmlFormatProvider to learn about the available customization options.
As far as sending an email with the PDF document attached is concerned, this is more of a general task than directly related to our controls. You can find some helpful answers on the internet for example in this StackOverflow thread or this .