new to radeditor and export to pdf

2 posts, 0 answers
  1. diane
    diane avatar
    15 posts
    Member since:
    Aug 2014

    Posted 13 Aug 2014 Link to this post

    I am just starting to work with a 2010 web form application, where I need to make small changes. I have never worked with the RadEditor before. I am getting the following error message when I run the application listed below.

    My questions are the following:
    1. Where can I obtain a copy of the Radeditor so That I can work with it? My company has a license for teletrik?
    2. Once I have the radedior installed, can you tell me how to use it so that I can find the error that is being referred to below?
    3. Will using a regular html editor be good enough?

    [Exception: Invalid XHTML. RadEditor content should be correct XHTML in order to export to PDF.
    Parse error:
    Reference to undeclared entity 'Quot'. Line 837, position 105.
    at line:
    <p style="text-align: left; margin-right: 0px;" dir="ltr"><span style="line-height: 107%; font-family: &Quot;calibri&quot;,&quot;sans-serif&quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: &Quot;times new roman&quot;; mso-bidi-theme-font: minor-bidi; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa;"><br clear="all" style="page-break-before: always; mso-special-character: line-break;">]
       Telerik.Web.UI.RadEditor.PdfExportRenderForm(HtmlTextWriter nullWriter, Control form) +763
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
       System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +102
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
       System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +53
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
       System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
       Telerik.Web.UI.RadEditor.PdfExportRenderPage(HtmlTextWriter nullWriter, Control page) +171
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
       System.Web.UI.Page.Render(HtmlTextWriter writer) +29
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1386
  2. Ianko
    Ianko avatar
    1507 posts

    Posted 15 Aug 2014 Link to this post

    Hi Diane,

    If the company has proper license you should be able to obtain the Telerik UI for ASP.NET AJAX suite by logging in with credentials of the license holder and navigating to the download section of the account. If you need more details about account matters  you can contact our sales team via

    To get started with the RadEditor I suggest following the online documentation as best explains the needed basic steps to configure a project with a RadEditor control.

    To setup the PDF exporting functionality you can follow this article and this online example.

    The exception thrown is quite self-descriptive. As the error message states, the XHTML that is invalid and due to that the PDF exporting library throws the exception.

    I suggest checking the validity of the HTML content used via the W3C validation tool. If any errors are found, I suggest correcting them, so that you could be sure that correct and valid HTML is used in the Radeditor control. 


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
Back to Top