Cannot export to PDF

2 posts, 0 answers
  1. Jaime
    Jaime avatar
    7 posts
    Member since:
    Jun 2009

    Posted 02 Dec 2011 Link to this post

    Hello, I am trying to export to pdf using a radeditor, however, when i open the file with adobe reader i get this message:

    "Adobe Reader could not open 'Certificate.pfd' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and was wasn't correctly decoded)"

    i am assigning to the radeditor.content the html code:

    <h1>
    <span class="titulo" id="ctl00_ContentPlaceHolder1_Label1">Aplicaciones por tipo</span>
    </h1>
    <p>
    <span id="ctl00_ContentPlaceHolder1_Label2">Aqu&iacute; encuentra las aplicaciones agrupadas por tipo</span>
    </p>

    Any suggestions?
    this is how my radeditor is defined:
     <telerik:RadEditor ID="redCertificate" runat="server" Width="90%" Height="800px"
                    Language="es-ES"
                    ContentFilters="PdfExportFilter, DefaultFilters">
                    <exportsettings openinnewwindow="true" filename="Certificate">
                    <Rtf PageHeader="RadEditor content" />
                    <Pdf PageTitle="Sample page title" />
                </exportsettings>
                    <content></content>
                </telerik:RadEditor>

    thanks in advance
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 05 Dec 2011 Link to this post

    Hello John,

    Check the following demo which implements the same.
    Editor / Export to PDF.

    -Shinu.
Back to Top