Completed
Last Updated: 11 Oct 2023 10:09 by ADMIN
Release R3 2023
RadTextBox doesn't get focused if the embedded label is shown. However, if the embedded label is not shown, RadTextBox is focused as expected. 
        public RadForm1()
        {
            InitializeComponent();
            this.radTextBox1.ShowEmbeddedLabel = true;
            this.radTextBox1.EmbeddedLabelText = "Enter name:";
        } 

        private void RadForm1_Shown(object sender, EventArgs e)
        {
             this.radTextBox1.Focus();
        }
Completed
Last Updated: 30 Jul 2021 09:18 by ADMIN
Release R3 2021
Created by: Dave
Comments: 0
Category: TextBox
Type: Bug Report
1

I have a form with two TextBox controls with ShowEmbeddedLabel and RepositionEmbeddedLabel enabled. The TextBox font size is 18P and the Embedded Label sizes are 18P and 10P. 

When running, the first textbox with the larger EL looks and works fine.  The textbox with the 10P EL, not so much.  The EL rests in the center of the control, rather than the bottom.  What property have I overlooked to have the 10P EL  align to the bottom of the control rather than hover in the center?

I've tried disabling TextBoxElement.AutoSize and setting its Size, but that really confuses the renderer. Messing the the LightVisualElements, didn't help either. Resizing the control almost works, but the descenders, the 'tails', of letters are clipped then the EL is bottom aligned.



Thanks!

 

        public RadForm1()
        {
            InitializeComponent();

            radTextBox1 = new Telerik.WinControls.UI.RadTextBox();
            radTextBox1.Font = new System.Drawing.Font("Segoe UI", 18F);
            radTextBox1.Location = new System.Drawing.Point(10, 10);
            radTextBox1.Size = new System.Drawing.Size(300, 80);
            radTextBox1.EmbeddedLabelText = "RTB1: 18F x 18F";
            radTextBox1.ShowEmbeddedLabel = true;
            this.Controls.Add(this.radTextBox1);
            radTextBox1.TextBoxElement.Font = new System.Drawing.Font("Segoe UI", 18F);
 


            radTextBox2 = new Telerik.WinControls.UI.RadTextBox();
            radTextBox2.Font = new System.Drawing.Font("Segoe UI", 18F);
            radTextBox2.Location = new System.Drawing.Point(10, 90);
            radTextBox2.Size = new System.Drawing.Size(300, 80);
            radTextBox2.EmbeddedLabelText = "RTB2: 18F x 10F";
            radTextBox2.ShowEmbeddedLabel = true;
            this.Controls.Add(this.radTextBox2);
            radTextBox2.TextBoxElement.Font = new System.Drawing.Font("Segoe UI", 10F);
        }

 

Completed
Last Updated: 27 Apr 2020 07:38 by ADMIN
Release R2 2020
Created by: Developer at
Comments: 1
Category: TextBox
Type: Bug Report
0

Hi Guys,

 

Just one more small thing on RadTextBox with DPI 200%. The right border is like cut with textbox with one pixel

 

Project attached is for you to try also.

Only 200% dpi settings are behaving like this.

 

Best regards

Zan

Completed
Last Updated: 09 Apr 2020 15:43 by ADMIN
Release R2 2020 (LIB 2020.1.413)

Hi team,

 

Please refer to the attached project for demonstration. To reproduce the crash:

1. Add a PageView control with two pages

2. Place the RadTextBox control in the second page (but launch the program in the first one)

3. Set the RadTextBox.ShowClearButton to True

4. Programmically set RadTextBox.Text = Nothing when the TextBox is not in the current page (won't crash if .Text="" or something else)

5. Switch to the page containing the TextBox -> crash.

 

Completed
Last Updated: 20 Jan 2020 12:05 by ADMIN
Release R1 2020 SP1 (LIB 2020_1_120)
Created by: Chuck
Comments: 1
Category: TextBox
Type: Bug Report
0
Is it possible to WordWrap the NullText or have a MultliLine NullText in a RadTextBox?