The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
The problem is the following: when I assign some text to the Edit Control, I'm adding new lines as "\r". But when I retrieving the same text from control, I have only "". DefaultNewLineStyle changing to Windows does not help.
is it possible to have the text with \r, as it was assigned?
LSLingaraj S Syncfusion Team September 14, 2010 12:00 PM UTC
Hi,
Thank you for your interest in Syncfusion products,
Please try using GetTextWithNewLineStyle method in EditControl to achieve your requirements as shown below. string text = this.editControl1.GetTextWithNewLineStyle(Syncfusion.IO.NewLineStyle.Windows);