Unplanned
Last Updated: 04 Aug 2021 13:50 by ADMIN
Created by: James William
Comments: 1
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.

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!

Completed
Last Updated: 17 Sep 2020 11:52 by ADMIN
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.