Completed
Last Updated: 20 Jan 2020 12:05 by ADMIN
Release R1 2020 SP1 (LIB 2020_1_120)
Chuck
Created on: 03 Jan 2020 16:23
Category: TextBox
Type: Bug Report
0
RadTextBox: WordWrap NullText
Is it possible to WordWrap the NullText or have a MultliLine NullText in a RadTextBox?
Attached Files:
1 comment
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 07 Jan 2020 11:51
 

Hello, Charles,   

Indeed, the NullText is not wrapped if the WordWrap property is enabled. But it is a nice to have feature:

            this.radTextBox1.Multiline = true;
            this.radTextBox1.ShowNullText = true;
            this.radTextBox1.NullText = "1. Once upon a time 2. Once upon a time 3. Once upon a time END";
            this.radTextBox1.WordWrap = true;

I have logged it in our feedback portal by making this thread public. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.

 

I have also updated your Telerik points.

Currently, you can split the NullText in multiple lines by using Environment.NewLine. Please refer to the below code snippet:

            this.radTextBox1.NullText = "1. Once upon a time" + Environment.NewLine + "2. Once upon a time" + Environment.NewLine + " 3. Once upon a time END";

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.