We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Insert Text with line break

Hi,

I wanted to be able to insert some text in my SfRichTextBox using the Selection.Insert() method.

If I insert a simple plan text, it works well.

But I am looking to insert text that contains some Environment.NewLine. If I do that, a text with the line break is inserted, but on only one line in the SfRichTextBox. The behavior is very strange. 

Is there a way to insert text with line break ?

A little animation that shows the behavior : Animation

And I join my sample project.

Regards,

Marvin

Attachment: TestSfRichTextBox_e6aa8ba9.7z

1 Reply

VM Venkatesan Mani Syncfusion Team April 22, 2016 09:44 AM UTC

Hi Marvin,

Thank you for contacting Syncfusion Support.

Currently, our SfRichTextBoxAdv control does not support the line break characters. We have planned to implement this line break support in SfRichTextBoxAdv in our Essential Studio Volume 1, 2016 Service Pack 2 release which is expected to be available by end of May. The date for the feature implementation is tentative and not a commitment on our parts. We request you to check our website periodically for feature related updates.

Regards,
Venkatesan M.

Loader.
Up arrow icon