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

Line breaks in underlying HTML

3 Answers 92 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 03 Jan 2011, 09:02 PM
We use the RAD editor to create a string that will ultimately be used to send emails. In older versions, there were line breaks (CRLF) inserted throughout the HTML between tags. The new version (2010.2) does not do this. It produces one long line of HTML. Outlook doesn't like that and inserts its own line breaks, sometimes in the middle of HTML tags. Is there any way to bring back the old functionality, or or otherwise get physical line breaks in the produced HTML?

Thanks in advance,
Boris Zakharin

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 04 Jan 2011, 08:56 AM
Hi Boris,

Could you please make sure that the IndentHTMLContent filter is enabled? This filter indents the HTML content so it is more readable when you view the code. You can see how to enable it in the following article: Content Filters.

Best regards,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Boris
Top achievements
Rank 1
answered on 04 Jan 2011, 03:28 PM
Sorry, it would seem that that particular editor is the old classic version (7.0.2) and has never been upgraded. I wonder, then, why the behavior has changed. Would upgrading to the AJAX version solve this problem?
0
Rumen
Telerik team
answered on 05 Jan 2011, 05:01 PM
Hi Boris,

Please, set the EnableHtmlIndentation property to "true". If the problem still persists, upgrade to the latest available classic version of RadEditor which is 7.3.6.

You should note that the development of the classic editor is discuntinued since the beginning of 2009 and it is not supported and no distributed. That is why the recommended approach is to migrate to the new RadEditor for ASP.NET AJAX. Upgrade instructions are available in the following article: Migration from RadEditor Classic to RadEditor for ASP.NET AJAX.

Best regards,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Editor
Asked by
Boris
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Boris
Top achievements
Rank 1
Share this question
or