Hi, my carriage return is stored in XML and saved to the database. When the XML is loaded and the string is pulled... it sets the text field and NOT in edit mode, it displays fine... but when in edit mode it displays the little sideways rectangles indicating carriage returns.
Any idea what is going on here? I have the multiline on, FYI.
THis works for me:
strWhatever.Replace("\n", Environment.NewLine)
I haven't tried that.
I was hoping that there was a property to set for this feature. So every multiline text box I have to convert the incoming text? Ick...
The UltraTextEditor uses a .NET TextBox when in edit mode; do you have the same problem when using a TextBox? It's possible that you need to convert the carriage return to the Environment.Newline character, or whatever character the TextBox recognizes (which I think is "\r\n").
-Matt