I am trying to save the content in a radEditor to the database. I dont want to save all the html tags. So when I save the data to the database, I use textView.Text instead of textView.Content (txtView is the radEditor name). I only want to preserve the return key. When I look at the database i see the text saved without any html and I see small sqaure boxes for the carriage return key as well. So its all good.
However, when I repopulate the editor with the text from the database, the carriage return is not applied. All the text is in one line without line breaks.
I tried adding NewLineBr="true", StripFormattingOptions="AllExceptNewLines" , StripFormattingOnPaste="AllExceptNewLines".
Non of them worked.
How can I achieve this?. I just want to preserve the carriage return when repopulating the rad editor. I see the small squres in the database which I think is for the carriage return.
Please advice.
thanks!
However, when I repopulate the editor with the text from the database, the carriage return is not applied. All the text is in one line without line breaks.
I tried adding NewLineBr="true", StripFormattingOptions="AllExceptNewLines" , StripFormattingOnPaste="AllExceptNewLines".
Non of them worked.
How can I achieve this?. I just want to preserve the carriage return when repopulating the rad editor. I see the small squres in the database which I think is for the carriage return.
Please advice.
thanks!