Completed
Last Updated: 21 Jun 2018 14:06 by ADMIN
To reproduce:
- Open the attached project.
- Click the day part and press N
- Click the hour part and press N - PM is changed to AM

Workaround:
public RadForm1()
{
    InitializeComponent();
    radDateTimePicker1.Format = DateTimePickerFormat.Custom;
    radDateTimePicker1.CustomFormat = @"yyyy/MM/dd hh:mm:ss tt";
    radDateTimePicker1.DateTimePickerElement.TextBoxElement.TextBoxItem.KeyPress += TextBoxItem_KeyPress;
}
 
private void TextBoxItem_KeyPress(object sender, KeyPressEventArgs e)
{
    if (e.KeyChar == 'n')
    {
        e.Handled = true;
        radDateTimePicker1.Value = DateTime.Now;
    }
}
Completed
Last Updated: 21 Jun 2018 14:05 by ADMIN
To reproduce:
- Open the demo application.
- Open the PropertyGrid -> FirstLook example.
- Open the color dialog editor multiple times. 

 
Completed
Last Updated: 14 Jun 2018 14:46 by Dimitar
Workaround:
this.radSpinEditor1.CausesValidation = false;
((TextBox)this.radSpinEditor1.SpinElement.TextBoxItem.HostedControl).CausesValidation = false;
Completed
Last Updated: 14 Jun 2018 14:43 by Dimitar
To reproduce:       
 Me.RadDateTimePicker2.Format = DateTimePickerFormat.Custom
 Me.RadDateTimePicker2.CustomFormat = "hh:mm tt"

Select the hours part with the mouse, the selection is affected correctly. Select the minutes part, the selection is affected correctly. Select the AM/PM part, the selection is again affected correctly. Now, try to select again the minutes part. You will notice that the cursor is affected correctly but the selection is missing. Once you select the AM/PM part then the selection is not updated properly with the mouse anymore.

Workaround:

Me.RadDateTimePicker1.DateTimePickerElement.TextBoxElement.Provider = New CustomMaskDateTimeProvider(Me.RadDateTimePicker2.DateTimePickerElement.TextBoxElement.Mask, Me.RadDateTimePicker2.Culture, Me.RadDateTimePicker2.DateTimePickerElement.TextBoxElement)


    Public Class CustomMaskDateTimeProvider
        Inherits MaskDateTimeProvider

        Public Sub New(mask As String, culture As CultureInfo, owner As RadMaskedEditBoxElement)
            MyBase.New(mask, culture, owner)

        End Sub
        Public Overrides Function SelectCurrentItemFromCurrentCaret() As Boolean
            Dim currentSelection As Integer = Me.TextBoxItem.SelectionStart
            Dim currentPos As Integer = 0
            Dim selected As Boolean = False

            'If Me.List(Me.SelectedItemIndex).type = PartTypes.AmPm Then
            '    Return True
            'End If

            For i As Integer = 0 To Me.List.Count - 1
                Dim part As MaskPart = Me.List(i)

                If SelectMilliseconds(i, part) Then
                    Exit For
                End If

                If currentSelection >= part.offset AndAlso currentSelection <= part.offset + part.len AndAlso Not part.[readOnly] AndAlso part.type <> PartTypes.Character Then
                    Me.TextBoxItem.SelectionStart = Me.List(i).offset
                    Me.TextBoxItem.SelectionLength = Me.List(i).len
                    Me.SelectedItemIndex = i
                    selected = True
                    Exit For
                End If

                currentPos += part.len
            Next

            Return selected
        End Function

        Private Function SelectMilliseconds(ByVal i As Integer, ByVal part As MaskPart) As Boolean
            If part.type = PartTypes.MiliSeconds AndAlso Me.value.Millisecond Mod 10 = 0 AndAlso part.trimsZeros Then
                Dim newLen As Integer = part.len

                For power As Integer = 1 To part.len

                    If Me.value.Millisecond Mod Math.Pow(10, power) = 0 Then
                        newLen -= 1
                    Else
                        Exit For
                    End If
                Next

                Me.textBoxItem.SelectionStart = Me.list(i).offset
                Me.textBoxItem.SelectionLength = newLen
                Me.SelectedItemIndex = i
                Return True
            End If

            Return False
        End Function
    End Class
Completed
Last Updated: 14 Jun 2018 07:46 by Dimitar
How to reproduce:  The spell checker`s AutoSpellCheckControl property must not be set. Add a ContextMenuStrip with several items and use it with a standard text box. Then perform a spell check with the RadSpellChecker control, e.g. like this: 

Me.RadSpellChecker1.Check(Me.TextBox1)

Then right-click in the text box, the context menu will not be shown.

Workaround: use RadContextMenu
https://docs.telerik.com/devtools/winforms/menus/contextmenu/context-menus
Completed
Last Updated: 12 Jun 2018 16:55 by ADMIN
Completed
Last Updated: 21 May 2018 15:49 by Dimitar
To reproduce:
1) Create RAD FORM (Project)
2) Add a TableLayoutPanel
3) In 1 cell add TextBox and change the font... it expands.
4) In cell 2 add a RadTextBox and change the font. The control is not resized.

In addition RatTextBox has correct size at runtime. 
Completed
Last Updated: 03 May 2018 07:50 by Dimitar
We should also add padding to the RadTimePicker

Workaround: 
this.radSpinEditor1.SpinElement.Padding = new Padding(2, 0, 0, 0);
this.radTimePicker1.TimePickerElement.Padding = new Padding(2, 0, 0, 0);
Completed
Last Updated: 20 Apr 2018 08:24 by Dimitar
To reproduce: set  this.radMaskedEditBox1.MaskType = Telerik.WinControls.UI.MaskType.IP; and try to enter '300' for the first part of the IP address. A message pops up  explaining that the value is outside the valid range. This message can't be changed. It should allow localizing. In addition, a RadMessageBox should be shown as well.
Completed
Last Updated: 10 Apr 2018 13:34 by Dimitar
To reproduce:

        Me.RadDateTimePicker1.Format = DateTimePickerFormat.Custom
        Me.RadDateTimePicker1.CustomFormat = "MM/dd/yyyy"

        Dim provider As MaskDateTimeProvider = TryCast(Me.RadDateTimePicker1.DateTimePickerElement.TextBoxElement.Provider, MaskDateTimeProvider)
        provider.AutoSelectNextPart = True

 If you type in 01/01/50, RadDateTimePicker displays 01/01/1950 which is correct. If you type in 01/01/2050, the system is again changing the century and display 01/01/1950 which is incorrect. 

Workaround: use a custom mask provider to customize how the autocompletion work:
    Public Class CustomMaskDateTimeProvider
        Inherits Telerik.WinControls.UI.MaskDateTimeProvider
        Public Sub New(mask As String, culture As CultureInfo, owner As RadMaskedEditBoxElement)
            MyBase.New(mask, culture, owner)

        End Sub

        Protected Overrides Function HandleKeyPress(part As MaskPart, e As KeyPressEventArgs) As Boolean
            Dim value As Integer = 0
            If Not Integer.TryParse(e.KeyChar.ToString(), value) Then
                Return True
            End If

            Dim stringValue As String = String.Empty
            If part.type = PartTypes.MiliSeconds Then
                Dim newValue As Integer = CInt((part.value / Math.Pow(10, (3 - part.len)))) * 10 + value
                part.value = newValue Mod CInt(Math.Pow(10, part.len))
            Else
                stringValue = part.value.ToString()
                If stringValue.Length = part.len AndAlso stringValue.Length >= part.maskPart.Length Then
                    stringValue = stringValue.Substring(1)
                End If

                If Me.AutoCompleteYear AndAlso stringValue.Length = 1 Then
                    stringValue = String.Empty
                End If

                part.value = Integer.Parse(stringValue & e.KeyChar)
            End If

            If part.type = PartTypes.Year AndAlso part.maskPart.Length = 2 Then
                Dim len As Integer = part.value.ToString().Length
                part.value = Integer.Parse(String.Format("{0}{1}", DateTime.Now.Year.ToString().Substring(0, 2), part.value.ToString().Substring(len - 2, 2)))
            End If

            If Me.AutoCompleteYear AndAlso part.type = PartTypes.Year Then
                Dim len As Integer = part.value.ToString().Length
                If len >= 2 Then
                    part.value = Integer.Parse(part.value.ToString().Substring(len - 2, 2))
                End If

                'If part.value >= 50 AndAlso part.value <= 99 Then
                '    part.value += 1900
                'ElseIf part.value >= 500 AndAlso part.value <= 999 Then
                '    part.value += 1000
                'ElseIf part.value < 50 OrElse (part.value > 99 AndAlso part.value < 500) Then
                part.value += 2000
                ' End If
            End If

            If part.value > part.max OrElse part.value < part.min Then
                part.value = value
            End If

            Return True
        End Function
         
    End Class

  Me.RadDateTimePicker1.Format = DateTimePickerFormat.Custom
        Me.RadDateTimePicker1.CustomFormat = "MM/dd/yyyy"

        Me.RadDateTimePicker1.DateTimePickerElement.TextBoxElement.Provider = New CustomMaskDateTimeProvider(Me.RadDateTimePicker1.DateTimePickerElement.TextBoxElement.Mask, Me.RadDateTimePicker1.Culture, Me.RadDateTimePicker1.DateTimePickerElement.TextBoxElement)

        Dim provider As MaskDateTimeProvider = TryCast(Me.RadDateTimePicker1.DateTimePickerElement.TextBoxElement.Provider, MaskDateTimeProvider)
        provider.MaxDate = Me.RadDateTimePicker1.DateTimePickerElement.MaxDate
        provider.AutoSelectNextPart = True
        provider.AutoCompleteYear = True

Thus, the year always be 2000+.
Declined
Last Updated: 21 Mar 2018 14:58 by John
To reproduce: please refer to the attached sample project and gif file.

Workaround: this.radTextBox1.MinimumSize = new System.Drawing.Size(0, 25);
or
Use RadTextBoxControl
Completed
Last Updated: 13 Mar 2018 07:52 by Dimitar
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: Editors
Type: Bug Report
1
To reproduce:

            this.radTextBox1.NullText = "text";
            this.radTextBox1.TextBoxElement.TextBoxItem.NullTextColor = Color.Red;

Workaround:  this.radTextBox1.TextBoxElement.NullTextColor = Color.Red;
Completed
Last Updated: 01 Mar 2018 14:25 by ADMIN
RadSpellChecker is also using MEF to load the default dictionary: https://docs.microsoft.com/en-us/dotnet/framework/mef/attributed-programming-model-overview-mef If MEF fails the dictionary will not load and the control will not spell check.
Completed
Last Updated: 28 Feb 2018 14:33 by ADMIN
RadDataLayout.LayoutControl has Text property and it is not relevant to show RadMarkupEditor when changing the text.
Unplanned
Last Updated: 28 Feb 2018 14:13 by ADMIN
To reproduce:
radMaskedEditBox1.MaskType = MaskType.Numeric;
radMaskedEditBox1.Mask = "G";

Then enter 123.45

Workaround:
Use "N" mask with fixed decimal places.
Completed
Last Updated: 26 Feb 2018 09:34 by Dimitar
Unplanned
Last Updated: 22 Feb 2018 15:38 by ADMIN
Using UI for WinForms R3 2017 (version 2017.3.912)

Strange behavior while selecting text with the mouse, while TextAlign is set to Right and there is more text then visible.
To reproduce try selecting all the text in the control from the attached file (once to the left, once to the right).

If the ShowClear button is visible and RihtToLeft is true, it won't select to the left (while there is more text than visible).


RadTextBoxControl radTextBoxControl1 = new Telerik.WinControls.UI.RadTextBoxControl();

this.radTextBoxControl1.Location = new System.Drawing.Point(239, 186);
this.radTextBoxControl1.Name = "radTextBoxControl1";
this.radTextBoxControl1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
this.radTextBoxControl1.ShowClearButton = true;
this.radTextBoxControl1.Size = new System.Drawing.Size(64, 20);
this.radTextBoxControl1.TabIndex = 6;
this.radTextBoxControl1.Text = "123456789123456789";
this.radTextBoxControl1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
Unplanned
Last Updated: 21 Feb 2018 13:28 by ADMIN
The suggestion must popup after every word.
There should be an option for positioning the drop down inside the textbox.

 
Unplanned
Last Updated: 21 Feb 2018 13:15 by ADMIN
Windows TextBox - OSK perfect

Telerik RadTextBox - OSK perfect

Telerik RadTextBoxControl - OSK doesn't work

Telerik RadDropDownList - OSK doesn't work

Telerik AutoCompleteBox - OSK doesn't work

This should work for all controls that have text input.

Completed
Last Updated: 06 Feb 2018 07:37 by ADMIN