FIX. RadDateTimePicker - setting the value to null, should clear the selection
The TabStop property set via the property builder of VS should be able to set the determine the tabbing behavior of RadTextBox and more specifically, the behavior of its inner TextBoxItem. Right now, the developer has to use a line of code to determine this behavior: this.radTextBox1.TextBoxElement.TextBoxItem.TabStop = false; while the TabStop of RadTextBox is always false, so that the focused can be always transferred to the inner TextBoxItem.
Extend the functionality of the RadMaskedEditBox to support continuous user input, i.e. no navigation keys are required to move the cursor between the separate editable parts of the current mask.
RadTextBox should indicate ReadOnly state
RadMaskEditBox does not apply the mask when the value is pasted from context menu. Same works when the value is pasted with Ctrl+V.
Put couple text boxes on a form in design time and you will have to press Shift+TAB twice to get the focus to the previously focused text box.
Currently, you cannot enter the date in RadDateTimePicker by typing it in the textbox area.
Currently, this can be achieve with this code: TextInfo textInfo = new CultureInfo("en-US", false).TextInfo; bool updating = false; void radTextBox1_TextChanging(object sender, TextChangingEventArgs e) { if (!updating) { int pos = radTextBox1.TextBoxElement.TextBoxItem.SelectionStart; updating = true; radTextBox1.Text = textInfo.ToTitleCase(radTextBox1.Text); radTextBox1.TextBoxElement.TextBoxItem.SelectionStart = pos; updating = false; } }
RadDateTimePicker - allow entering date, month and year without using space key to navigate between the date, month and the year, just like in RadMaskedEditBox
How to reproduce: also check the attached video this.radMaskedEditBox1.MaskType = MaskType.Numeric; Workaround: private void RadMaskedEditBox1_TextChanged(object sender, EventArgs e) { if (this.radMaskedEditBox1.Text == "-0") { if (this.radMaskedEditBox1.MaskedEditBoxElement.TextBoxItem.Text.Length == 2) { //Workaround this.radMaskedEditBox1.MaskedEditBoxElement.TextBoxItem.Text = this.radMaskedEditBox1.MaskedEditBoxElement.TextBoxItem.Text.Remove(1, 1); } } }
If the size of the text and icons on the screen is set to larger and the font of the text is set to 12 pixels. Letters that have tails below (such as: g, j, y) are not shown properly inside the text box. Workaround: As a workaround one can set the minimum height of the text box to be as the height of the text and allow multi lines. int textHeight = TextRenderer.MeasureText(this.radTextBox1.Text, this.radTextBox1.Font).Height;this.radTextBox1.TextBoxElement.TextBoxItem.MinSize = new Size(0, textHeight);this.radTextBox1.TextBoxElement.TextBoxItem.InvalidateMeasure();this.radTextBox1.TextBoxElement.TextBoxItem.UpdateLayout();this.radTextBox1.Multiline = true;
RadMaskedEditBox does not support G mask
To reproduce: - set the Mask to N2 - set the MaskType to Numeric - set the control value to 4.456789 The the control displays 4.456789 instead of 4.46 WORKAROUND: Private Sub RadMaskedEditBox1_ValueChanged(sender As Object, e As EventArgs) Dim control As RadMaskedEditBox = DirectCast(sender, RadMaskedEditBox) RemoveHandler control.ValueChanged, AddressOf RadMaskedEditBox1_ValueChanged control.MaskedEditBoxElement.TextBoxItem.Text = control.MaskedEditBoxElement.Provider.ToString(False, True) AddHandler control.ValueChanged, AddressOf RadMaskedEditBox1_ValueChanged End Sub
Steps to reproduce: 1. Add a RadDateTimePicker to a form. 2. Set ShowUpDown to true. 3. Set NullDate to be DateTime.Now 4. Set MinValue to DateTime.Now.Date 5. Set MaxValue to DateTime.Now.AddDays(1).AddSeconds(-1) 6. Try to change the value and press tab to save the value. The value will be set to null.
When the user is typing before already typed text, the text is overridden. Add the ability to insert characters instead of replacing them like in the .Net MaskedTextBox.
To reproduce: - Add RadDateTimePicker to a form and set its ReadOnly property to true. - Paste a valid value using the Ctrl+V key combination. Workaround: - Disable the corresponding key combination in the KeyDown event: void radDateTimePicker1_KeyDown(object sender, KeyEventArgs e) { if (e.Control && e.KeyCode == Keys.V) { e.SuppressKeyPress = true; } }
In certain cases RadSpinEditor.Value property is not updated correctly. This happens, because RadSpinEditor does not lose focus as it is supposed to.
Place a RadTextBox on a form and set its anchor to Left, Top, Right. Show the form in a maximized mode. You will notice that the RadTextBox is longer than it should be. The workaround concerns setting the AutoSize property of RadTextBox to false.
To reproduce: public Form1() { InitializeComponent(); this.radTextBox1.Multiline = true; this.radTextBox1.Size = new Size(200, 200); this.radTextBox1.TextChanged += radTextBox1_TextChanged; } private void radTextBox1_TextChanged(object sender, EventArgs e) { this.radTextBox1.BackColor = Color.Red; } Note: when you keep pressed a specific key, you will notice that the memory consumption is increased, although if you force the GarbageCollector, it is released. It is also noticeable that there is text lagging while typing. Please refer to the attached gif file. Workaround: this.radTextBox1.TextBoxElement.TextBoxItem.TextBoxControl.BackColor = Color.Red;
To reproduce: - Use RadTimePicker in a project and apply the Aqua theme to it.