Currently, RadTextBoxControl is not supported by RadValidationProvider:
https://docs.telerik.com/devtools/winforms/controls/validation-provider/supported-controls
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.
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
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!
Please run the attached sample project.
Workaround: use RadTextBox instead.
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;
}
}
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)
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.
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.
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:
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);
}