Duplicated
Last Updated: 24 Apr 2024 07:22 by ADMIN
Created by: James William
Comments: 3
Category: TextBoxControl
Type: Bug Report
0

I noticed a weird issue with the RadTextBoxControl when using a combination of word wrap and multiline.

If the text that is being wrapped is too close to the edge of the control, the selection highlight renders incorrectly.

Here is an example:

I have attached a sample to reproduce the issue.

Unplanned
Last Updated: 13 Sep 2023 08:58 by ADMIN

In this case, we are setting the MaxDropDownItemCount property to 3. When the AutoCompleteDropDown popup is shown, only 2 items are completely visible. The Height of the dropdown is not correctly calculated and does not respect the size of the sizing grip area which is 20 px in this theme.

As a workaround, we can manually change the height in the PopupOpened event:

this.radTextBoxControl1.TextBoxElement.AutoCompleteDropDown.PopupOpened += this.AutoCompleteDropDown_PopupOpened;

private void AutoCompleteDropDown_PopupOpened(object sender, EventArgs args)
{
    (this.radTextBoxControl1.TextBoxElement.AutoCompleteDropDown as RadTextBoxAutoCompleteDropDown).MinimumSize = new Size(264, 3*24+20);  
          
}

Completed
Last Updated: 27 Mar 2023 06:35 by ADMIN
Release R1 2023 SP1
Created by: thomas
Comments: 1
Category: TextBoxControl
Type: Bug Report
0

To reproduce: 

            this.radTextBoxControl1.Font = new Font("Arial", 10f, FontStyle.Regular);
            this.radTextBoxControl1.Text = @"B\3\B,3,B.3.";

            this.radTextBoxControl2.Font = new Font("Segoe UI", 8f, FontStyle.Regular);
            this.radTextBoxControl2.Text = @"B\3\B,3,B.3."; 

            this.textBox1.Font = new Font("Segoe UI", 9f, FontStyle.Regular);
            this.textBox1.Text = @"B\3\B,3,B.3.";

            this.radTextBoxControl1.Enabled = this.radTextBoxControl2.Enabled = 
            this.textBox1.Enabled = false;

The text with "Segoe UI" is partially visible:

 

Completed
Last Updated: 20 Jan 2023 14:27 by Mark
Release R3 2020

When UseSystemPasswordChar  is set to true, the copy/cut from the text field must be disabled. This includes both keyboard commands (Ctrl+C and Ctrl+X) and context menu on right click.

Completed
Last Updated: 07 Feb 2022 16:31 by ADMIN
Release R1 2022 SP1
It works when I add the RadTextBoxControl to a form. But it does not work if the RadTextBoxControls is added to a UserControl (the RadTextBox works fine, RadTextBoxControl does not).

It makes no difference whether the base form is a RadForm or a Windows Form
Completed
Last Updated: 27 Oct 2021 15:52 by ADMIN
Release R3 2021 SP1

Please run the attached sample project.

 

Workaround: use RadTextBox instead.

Completed
Last Updated: 20 Oct 2021 08:40 by ADMIN
Release R3 2021 SP1
Created by: Luke
Comments: 0
Category: TextBoxControl
Type: Bug Report
0
With certain sizes of RadTextBoxControl, the selected text does not get highlighted properly. Some lines are not highlighted, even though they are selected.
Completed
Last Updated: 12 Jul 2021 07:37 by ADMIN
Release R3 2021 (LIB 2021.2.712)

How to reproduce:

1. Use the following code: 

            this.radTextBoxControl1.AutoCompleteMode = AutoCompleteMode.Suggest;
            RadListDataItemCollection autoCompleteItems = this.radTextBoxControl1.AutoCompleteItems;
            autoCompleteItems.Add(new RadListDataItem("test")); 

2. Follow the steps in the gif file.

Workaround: use RadTextBox instead.

Completed
Last Updated: 12 Jul 2021 07:37 by ADMIN
Release R3 2021 (LIB 2021.2.712)

Start with "870-801" (no quotes) in the RadTextBoxControl

Backspace to delete the '8' after the hyphen
With the caret index directly after the hyphen, enter a new character.
This will result in the newly added character being appended to the end of the text instead of at the caret index.

Please note: If the caret index is moved manually after deleting the "8", the new character will be inserted at the caret index as expected.

 

I have attached a sample project that replicates the issue. We are on the latest Telerik WinForms controls. (2021.2.511)

Completed
Last Updated: 07 Jun 2021 15:03 by ADMIN
Release R2 2021 SP1

This is the code that simulates multiple assigning of the spell-checked control: 

public partial class RadForm1 : Telerik.WinControls.UI.RadForm
{
    public RadForm1()
    {
        InitializeComponent(); 

        this.textBox1.MouseEnter += Control_Enter;
        this.textBox1.MouseLeave += Control_Leave;

    }

    bool hasLoop = false;
    private void Control_Enter(object sender, EventArgs e)
    {
        radSpellChecker1.AutoSpellCheckControl = sender;
        if (hasLoop)
        {
            return;
        }
        for (int i = 0; i < 1000; i++)
        {
            if (i % 2 == 0)
            {
                radSpellChecker1.AutoSpellCheckControl = null;
            }
            else
            {
                radSpellChecker1.AutoSpellCheckControl = sender;
            }

        }
        hasLoop = true;
    }

    private void Control_Leave(object sender, EventArgs e)
    {
        radSpellChecker1.AutoSpellCheckControl = null;
    }
}

Completed
Last Updated: 15 Feb 2021 13:52 by ADMIN
Release R1 2021 SP2

Dear Support,

 

i'm using the RadTextBoxControl for Login-Window.

As excepted the Password ist set as UseSystemPasswordChar = true.

The problem is that space is not converted to the PasswordChar (yes some customer has space in the password).

 

Is that a BUG or is there a workaround?

 

Greetings,

Stoyan

Unplanned
Last Updated: 19 Jan 2021 09:16 by ADMIN

Hi Support,

I would like to ask how to fix the issue on RadTextBoxControl when TextAlign is set to RightAligned.

As you can see on the attached video, I cannot move the text to most left.

May I know how to fix this?

Thanks!