How to acknowledge carriage return in RadEditor?
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??
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