Hi,
I am using RadEditor control on my web page. I'm using HTML file as a template to fill in sections of data from database and then display data to user in Editor. I want to allow user to save this data as PDF file but unfortunately, I'm having trouble to save this data to export to PDF file using ExportToPdf() method of RadEditor.
Here is a Code:
code behind:
HTML Template:
In my code, I fill the data from the database for the sections [%=.....%]. While calling method ExportToPdf() I gets this exception:
Invalid XHTML. RadEditor content should be correct XHTML in order to export to PDF. Parse error: Unexpected DTD declaration. Line 674, position 13. at line: <body><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Any help for this ?
Thanks