How to acknowledge carriage return in RadEditor?

Posted by Community Admin on 03-Aug-2018 07:20

How to acknowledge carriage return in RadEditor?

All Replies

Posted by Community Admin on 25-Jul-2010 00:00

I am importing some text into RadEditor in two ways through my application

1- Fetching contents from database.and populating RadEditor's Contents property.
2- Reading Text Data from File through IO streams and populating Contents.

Unfortunately the carriage returns and line feeds are not transformed properly and the whole text is combined into a single line wrapped style which is hard to manage. The same issue is when I need to record these contents to database.

Note: Contents are usually HTML source code

Any idea what is the way forward??

Posted by Community Admin on 26-Jul-2010 00:00

Hi Aamir Ali,

The RadEditor content is returned as HTML and this is how it should be imported in your database and then retrieved, otherwise you will loose the formatting over the text and all images that have been imported.


Regards,
Ivan Dimitrov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed