Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1105
Problems with the ultraTextEditor multiline
posted

Hi,

 we are facing problems with carridge return + line feed in the text editor in multiline mode. If the control is not focused then the control shows the line feeds correct, but as soon as we focus the control it looses the line feed and shows some special characters I can't interpret.

Does anyone have the same problem or some idea why this happens.

 

regards

Stefan 

  • 469350
    Verified Answer
    Offline posted

     Hi Stefan,

    When the control gets focus, it displays a Microsoft TextBox control over itself for editing. It is this control that handles the CR+LF in an odd way. Try using just a CR without the LF and see if that helps. 

    If you are doing this in code, you might want to use Environment.NewLine.