I have a text string: "HiThere\rHow\rAre you"
In TextBoxExt the '''' appears as a non-printing char, the ''\r'' appears correctly as a Return,
and ''\r'' appears as two non-printing chars.
If I am typing in a text editor, including Syncfusion Forms.Edit.EditControl, and press the ''Return'' key, I get only the '''' character in the string.
How can I get TextBoxExt to handle a '''' char correctly?
ADAdministrator Syncfusion Team July 19, 2005 04:55 PM
TextBoxExt is derived from TextBox. If you try the same strings in a TextBox you''ll notice that the same thing happens. This is because Microsoft''s standard for a new line is \r, rather than the more general standard of .
To get TextBox to correctly display , you''ll need to do a .Replace("","\r") on your string before assigning it to the TextBox.
BTByron TateJuly 19, 2005 05:35 PM
yea, OK . I did that, so I''ll keep that code in. Thanks.