This is a migrated thread and some comments may be shown as answers.

Error while Executing Filter ConvertFontToSpanFilter - Invalid Character Error

0 Answers 120 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Subhash
Top achievements
Rank 1
Subhash asked on 19 Jun 2017, 04:02 AM

Hi,

 We are using RadEditor Export PDF functionality.

  Export to PDF getting Javascript Error "Error while executing filter ConvertFontToSpanFilter - InvalidCharacterError: Failed to execute 'setAttribute' on      'Element': 'font-family:arial,' is not a valid attribute name.

We tried to Disable ConvertFontToSpanFilter Filter. Then PDF is not downloaded and getting below Error

System.ArgumentException: String cannot be of zero length. Parameter name: oldValue at System.String.ReplaceInternal(String oldValue, String newValue) at System.String.Replace(String oldValue, String newValue) at System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat) at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator) at Telerik.Web.UI.Editor.Export.ApocPdfGenerator.ValidateContentForExport(String content) at Telerik.Web.UI.Editor.Export.RadEditorExportTemplate.GenerateXmlStirng(String pageTitle, String content) at Telerik.Web.UI.Editor.Export.RadEditorExportTemplate.InitializeXmlContent() at Telerik.Web.UI.Editor.Export.RadEditorExportTemplate.Export() at

No answers yet. Maybe you can help?

Tags
WebParts for SharePoint
Asked by
Subhash
Top achievements
Rank 1
Share this question
or