Completed
Last Updated: 27 Sep 2018 11:56 by Dimitar
To reproduce: handle the following event and start typing in the editable part. You will notice that the TextChanged event is not fired:
Me.RadPopupEditor1.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDown
AddHandler Me.RadPopupEditor1.TextChanged, AddressOf RadPopupEditor1_TextChanged

Workaround: handle the RadPopupEditor.TextBoxElement.TextChanged event instead.
Completed
Last Updated: 17 Sep 2018 09:53 by Dimitar
To reproduce: set the ThemeName property before setting the RadDateTimePickerCalendarShowTimePicker property to true.
    Private Sub RadForm1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

        Me.RadDateTimePicker1.ThemeName = "TelerikMetro"
        TryCast(Me.RadDateTimePicker1.DateTimePickerElement.CurrentBehavior, RadDateTimePickerCalendar).ShowTimePicker = True
    End Sub

Workaround:

    Private Sub RadForm1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

        TryCast(Me.RadDateTimePicker1.DateTimePickerElement.CurrentBehavior, RadDateTimePickerCalendar).ShowTimePicker = True
        Me.RadDateTimePicker1.ThemeName = "TelerikMetro"
    End Sub
Approved
Last Updated: 11 Sep 2018 11:58 by ADMIN
To reproduce:
radPopupEditor1.PopupForm.VerticalPopupAlignment = VerticalPopupAlignment.TopToBottom;

Workaround:
private void RadPopupEditor1_PopupOpening(object sender, CancelEventArgs e)
{
    var args = e as RadPopupOpeningEventArgs;
    args.CustomLocation = new Point(args.CustomLocation.X, args.CustomLocation.Y - (radPopupEditor1.Height + radPopupEditor1.PopupForm.Height));
}
Completed
Last Updated: 15 Aug 2018 06:47 by Dimitar
How to reproduce:
Set the AutoSpellCheckControl property of the spell checker and use it in a DPI-aware application on a system with an increased scaling. Type an incorrect and notice that the context menu will not be scaled.

Workaround: 
Public Class RadForm1
    Sub New()

        InitializeComponent()

        'TextBox
        Me.RadSpellChecker1.AutoSpellCheckControl = Me.TextBox1
        Dim dpi = NativeMethods.GetSystemDpi()
        Dim checker = TryCast(Me.RadSpellChecker1.GetControlSpellChecker(GetType(TextBox)), TextBoxSpellChecker)
        checker.DropDownMenu.PopupElement.DpiScaleChanged(New SizeF(dpi.X / 96, dpi.Y / 96))

        'RadTextBox
        'Me.RadSpellChecker1.AutoSpellCheckControl = Me.RadTextBox1
        'Dim dpi = NativeMethods.GetSystemDpi()
        'Dim checker = TryCast(Me.RadSpellChecker1.GetControlSpellChecker(GetType(RadTextBox)), TextBoxSpellChecker)
        'checker.DropDownMenu.PopupElement.DpiScaleChanged(New SizeF(dpi.X / 96, dpi.Y / 96))
    End Sub
End Class
Completed
Last Updated: 06 Aug 2018 06:44 by Dimitar
Use attached to reproduce.

1 - In the First Text Box (the Masked Box) type 1
2 -  Click the "GO" button. The text box shows 1 and the VALUE is displayed from the Edit box correctly as 1
3 - Select the 1 in the edit box and CTRL + DELETE to clear the field
4 - Click the "GO" button. The text box shows NULL and the VALUE is displayed from the Edit box correctly as NULL
5 - Highlight the text in the "Paste Me!" text box and Copy the text to Clipboard.
6 - Paste the clipboard into the Masked t Edit box
7 - Click "GO". The mask text box correctly displayed NULL however the returned VALUE is 1

 

Completed
Last Updated: 19 Jul 2018 08:15 by Dimitar
To reproduce:

Add the following code:
int count = 0;
private void dateTimePicker1_ValueChanging(object sender, Telerik.WinControls.UI.ValueChangingEventArgs e)
{
   
    if (count == 2)
    {
        e.Cancel = true;
    }
    count++;
}

- Select the year and press down multiple times. After some time the event is not fired any more. 

Workaround:
class MyMaskDateTimeRpovider : MaskDateTimeProvider
{
    public MyMaskDateTimeRpovider(string mask, CultureInfo culture, RadMaskedEditBoxElement owner) : base(mask, culture, owner)
    { }
    public override object Value
    {
        get { return base.Value; }
        set
        {
            typeof(MaskDateTimeProvider).GetField("oldValue", BindingFlags.Instance | BindingFlags.NonPublic).SetValue(this, null);
            base.Value = value;
        }
    }

}
Completed
Last Updated: 12 Jul 2018 10:12 by ADMIN
To reproduce:
- Use the Fluent theme with RadSpinEditor on a HDPI monitor.

Workaround:
 var borderPrimitive = radSpinEditor1.SpinElement.Children[1] as BorderPrimitive;
borderPrimitive.BottomWidth = 2;

Approved
Last Updated: 26 Jun 2018 08:14 by ADMIN
Approved
Last Updated: 21 Jun 2018 14:39 by ADMIN
Use attached to reproduce.

Workaround: 
Use RadTextBox.
Completed
Last Updated: 21 Jun 2018 14:39 by ADMIN
To reproduce:
- Set the DropDownSizingMode to None
- Show the popup several times.
- Each time the height is increased.

Workaround:
var popup = radPopupEditor1.PopupEditorElement.PopupForm as RadPopupContainerForm;
popup.SizingGrip.MinSize = new Size(0, 0);
Completed
Last Updated: 21 Jun 2018 14:39 by ADMIN
Use the following code:
public RadForm1()
{
    InitializeComponent();
    radMaskedEditBox1.MaskType = Telerik.WinControls.UI.MaskType.Numeric;
    radMaskedEditBox1.Mask = "d0";
    radMaskedEditBox1.EnableNullValueInput = true;

    radMaskedEditBox1.TextChanged += RadMaskedEditBox1_TextChanged;
    radMaskedEditBox1.ValueChanged += RadMaskedEditBox1_ValueChanged;

    radMaskedEditBox1.Value = null;

}

private void RadMaskedEditBox1_ValueChanged(object sender, EventArgs e)
{
    Console.WriteLine(radMaskedEditBox1.Value);
}

- Type "1", you will notice that the value is still null.
- Type "2", the value is now correct.

Workaround:
private void RadMaskedEditBox1_ValueChanged(object sender, EventArgs e)
{
    if (radMaskedEditBox1.Text != "" )
    {
        var provider = radMaskedEditBox1.MaskedEditBoxElement.Provider;
        Console.WriteLine(provider.Value);
    }
    else
    {
        Console.WriteLine(radMaskedEditBox1.Value);
    }
  
}
er.Value);
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:06 by ADMIN
To reproduce:
this.radDateTimePicker1.DateTimePickerElement.TextBoxElement.MaskType = MaskType.FreeFormDateTime;

And try pasting a date, or some free text.

 
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: 13 Jun 2018 08:23 by Dimitar
https://msdn.microsoft.com/en-us/library/system.windows.forms.maskedtextbox.maskcompleted(v=vs.110).aspx
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.