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

Printing Rad Content into Crystal Report

1 Answer 45 Views
Editor
This is a migrated thread and some comments may be shown as answers.
James Taylor
Top achievements
Rank 1
James Taylor asked on 30 Oct 2008, 06:44 PM
Has anyone printed the Rad content into Crystal Report as one of the fields in the report?  I am doing something cluge before with Rad 6.5 by replacing the <br><br> tags with <br>space<br>.  But now in the Rad for AJAX, the default is XHTML and the content saves the <br> with <br />.  Basically, my requirement is to have a paragraph in between as I would do now.

The tags associated with this return shows <br />2 spaces<br />.  Is there an easy way to get this done?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 31 Oct 2008, 09:08 AM
Hi Danny,

You can disable the ConvertToXhtml filter of RadEditor for ASP.NET AJAX by setting

RadEditor1.DisableFilter(Telerik.Web.UI.EditorFilters.ConvertToXhtml);

in the codebehind.

If you would like you can parse and modify the html content produced by RadEditor by implementing a content filter. You can see the following live example for more information: Custom Content Filters.


Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
James Taylor
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or