Completed
Last Updated: 31 Jul 2013 06:28 by ADMIN
RadMaskEditBox - does not work correctly when the whole text is selected and user presses key "Enter". Control removes the last character.

Workaround:

Public Class Form1

    Dim text1 As String
    Dim text2 As String

    Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
        If e.KeyData = Keys.Enter Then
            SendKeys.Send("{TAB}")
        End If

    End Sub

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.RadMaskedEditBox1.MaskType = Telerik.WinControls.UI.MaskType.Standard
        Me.RadMaskedEditBox2.MaskType = Telerik.WinControls.UI.MaskType.Standard
        Me.RadMaskedEditBox1.Mask = "00/00/00"
        Me.RadMaskedEditBox1.Text = "__/__/__"
        Me.RadMaskedEditBox2.Mask = "00/00/00"
        Me.RadMaskedEditBox2.Text = "__/__/__"

    End Sub

    Private Sub RadMaskedEditBox1_GotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadMaskedEditBox1.GotFocus
        RadMaskedEditBox1.SelectAll()
        text1 = Me.RadMaskedEditBox1.Text

    End Sub

    Private Sub RadMaskedEditBox1_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadMaskedEditBox1.LostFocus
        Me.RadMaskedEditBox1.Text = text1
    End Sub

    Private Sub RadMaskedEditBox1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles RadMaskedEditBox1.KeyDown
        If e.KeyData = Keys.Enter Then
            text1 = Me.RadMaskedEditBox1.Text
        End If
    End Sub


    Private Sub RadMaskedEditBox2_GotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadMaskedEditBox2.GotFocus
        RadMaskedEditBox2.SelectAll()
        text2 = Me.RadMaskedEditBox2.Text
    End Sub

    Private Sub RadMaskedEditBox2_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadMaskedEditBox2.LostFocus
        Me.RadMaskedEditBox2.Text = text2
    End Sub

    Private Sub RadMaskedEditBox2_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles RadMaskedEditBox2.KeyDown
        If e.KeyData = Keys.Enter Then
            text2 = Me.RadMaskedEditBox2.Text
        End If
    End Sub

End Class
Completed
Last Updated: 11 Feb 2014 16:16 by ADMIN
ADMIN
Created by: Dimitar
Comments: 0
Category: Editors
Type: Bug Report
0
To reproduce:
-wire to the PreviewKeyDown event like this:
radMaskedEditBox1.PreviewKeyDown += radMaskedEditBox1_PreviewKeyDown

Workaround:
-wire to the TextBoxItem PreviewKeyDown:
radMaskedEditBox1.MaskedEditBoxElement.TextBoxItem.PreviewKeyDown += TextBoxItem_PreviewKeyDown;
Completed
Last Updated: 20 Oct 2016 09:29 by ADMIN
When NumberFormat.NumberDecimalSeparator is same with NumberFormat.CurrencyGroupSeparator   numbers cannot be edited and deleted.
As a workaround set these separators to different values.
Completed
Last Updated: 11 Jul 2013 13:17 by ADMIN
This behavior comes from the nested MaskedEditBox. RadDateTimePicker behaves the same way - this is core logic and should be the same.
Completed
Last Updated: 05 Jun 2014 07:07 by ADMIN
For example: name.o'name@mail.com is not valid.

Workaround:
Use a Regex MaskType with following mask:
^['_a-z0-9-]+(.['a-z0-9-]+)@[a-z0-9-]+(.[a-z0-9-]+)*(.[a-z]{2,4})$
Completed
Last Updated: 09 Jul 2013 02:18 by ADMIN
RadSpellCheckerLocalizationProvider - The word dictionary is misspelled in case RadSpellCheckerStringId.NotInDictionary. 

Workaround:
Create custom localization provider and override incorrect string.
Completed
Last Updated: 24 Jul 2014 06:30 by ADMIN
RadMaskEditBox - Wrong cursor placement after typing decimal separator (it goes to the last position) when you change Decimal symbols for Currency as ";"

Workaround:
            this.radMaskedEditBox2.KeyPress += new KeyPressEventHandler(radMaskedEditBox2_KeyPress);
            this.radMaskedEditBox2.KeyUp += new KeyEventHandler(radMaskedEditBox2_KeyUp);
        }

        void radMaskedEditBox2_KeyPress(object sender, KeyPressEventArgs e)
        {
            string separtor = Thread.CurrentThread.CurrentCulture.NumberFormat.CurrencyDecimalSeparator;

            if (e.KeyChar.ToString() == separtor)
            {
                e.Handled = true;
            }
        }

        void radMaskedEditBox2_KeyUp(object sender, KeyEventArgs e)
        {
            if (e.KeyValue == 186)
            {
                RadMaskedEditBoxElement radMaskedEditBoxElement = sender as RadMaskedEditBoxElement;
                int index = radMaskedEditBoxElement.TextBoxItem.Text.IndexOf(';');
                radMaskedEditBoxElement.TextBoxItem.SelectionStart = index + 1;
            }
        }
Completed
Last Updated: 04 May 2016 11:14 by ADMIN
RadMaskedEditBox - has incorrect behavior when decimal separator is "D". You can set only one digit before separator.
Completed
Last Updated: 03 Jul 2013 13:52 by ADMIN
ADMIN
Created by: Telerik Admin
Comments: 0
Category: Editors
Type: Bug Report
4
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.
Completed
Last Updated: 05 Jun 2014 07:07 by ADMIN
With the RadMaskedEditBox and MaskType set to Numeric and using simple data binding the mask is not being displayed properly

As a workaround handle ValueChanged event and apply the formatting in this event:
       dim alreadyExecuted as Boolean
       Sub ValueChange(sender As Object, e As EventArgs) Handles EditBoxWithBinding.ValueChanged 
	If Not alreadyExecuted Then 
		alreadyExecuted = True EditBoxWithBinding.MaskedEditBoxElement.Provider.Validate(EditBoxWithBinding.Value.ToString()) 
		alreadyExecuted = False 
	End If 
End Sub
Completed
Last Updated: 22 Jul 2014 15:11 by Jesse Dyck
To reproduce: if (e.KeyData == Keys.Back) { radDateTimePicker1.SetToNullValue(); e.Handled = true; } 

Workaround: void radDateTimePicker1_KeyUp(object sender, KeyEventArgs e) { if (e.KeyData == Keys.Back) { radDateTimePicker1.SetToNullValue(); } }

Resolution: 
Users should handle also KeyPress event (and KeyDown event) because the keys.Back is processed on KeyPress  :

         void radDateTimePicker1_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (e.KeyChar == '\b')
            {
                this.radDateTimePicker1.SetToNullValue();
                e.Handled = true;
            }
        }
Completed
Last Updated: 23 Apr 2014 12:56 by ADMIN
When working with RadAutoCompleteBox if one tries to remove a token from the collection through clicking on the close "x" button of the token the TextBoxElement of the text box loses focus, even though it look as if it still contains it.
Completed
Last Updated: 05 Jun 2014 07:07 by ADMIN
If I set a RadSpinEditor.Hexadecimal to true, then false without reading the value, the value will steadily increase.

Workaround:
    public class MySpinEditor : RadSpinEditor
    {
        public new bool Hexadecimal
        {
            get
           
Completed
Last Updated: 23 Apr 2014 12:56 by ADMIN
To reproduce:
- Use RadTimePicker in a project and apply the Aqua theme to it.
Completed
Last Updated: 09 May 2013 03:48 by ADMIN
Until Q3 2012 the position of the check box has been on the left hand side of the control. After Q3 the position of the check box is between the text box and the arrow button. The correct position is on the left hand side.
Completed
Last Updated: 07 May 2013 02:27 by ADMIN
To reproduce: add a token to the control and attempt adding the same token with this code in the CreateTextBlock event handler:

        void radAutoCompleteBox1_CreateTextBlock(object sender, CreateTextBlockEventArgs e)
        {
            if (e.TextBlock is TokenizedTextBlockElement)
            {
                foreach (RadListDataItem item in radAutoCompleteBox1.AutoCompleteItems)
                {
                    if (item.Text.ToLower() == e.Text.ToLower())
                    {
                        e.TextBlock = new TokenizedTextBlockElement("pepo");
                        break; // TODO: might not be correct. Was : Exit For
                    }
                }
            }
        }

Workaround:

        void radAutoCompleteBox1_CreateTextBlock(object sender, CreateTextBlockEventArgs e)
        {
            if (e.TextBlock is TokenizedTextBlockElement)
            {
                foreach (RadListDataItem item in radAutoCompleteBox1.AutoCompleteItems)
                {
                    if (item.Text.ToLower() == e.Text.ToLower())
                    {
                        TokenizedTextBlockElement element = new TokenizedTextBlockElement();
                        element.ContentElement.Text = item.Text;
                        e.TextBlock = element;
                    }
                }
            }
        }
Completed
Last Updated: 11 Feb 2014 16:12 by ADMIN
To reproduce:
RadColorDialog dialog = new RadColorDialog();
dialog.ColorDialogForm.ColorChanged

Workaround:
((RadColorSelector)dialog.ColorDialogForm.RadColorSelector).OkButtonClicked += Form1_OkButtonClicked;
//or
((RadColorSelector)dialog.ColorDialogForm.RadColorSelector).ColorChanged+= ColorDialogForm_ColorChanged;
Completed
Last Updated: 20 Oct 2014 13:56 by ADMIN
Steps to reproduce:
Set MaskType to Numeric and Mask = "n2". Click into the field to deselect contents. Caret is at the end of the string. Backspace twice and the data entry caret now jumps to BEFORE the decimal point. 

Workaround:
this.RadMaskedEditBox.KeyPress += new KeyPressEventHandler(RadMaskedEditBox_KeyPress);
		}

        void RadMaskedEditBox_KeyPress(object sender, KeyPressEventArgs e)
        {
            RadMaskedEditBox textBox = ((RadMaskedEditBox)sender);
            int selectionStart = textBox.SelectionStart;
            bool beforePoint = selectionStart - 2 >= 0 && textBox.Text[selectionStart - 2] == '.';

            if (e.KeyChar == 8 && beforePoint)
            {                
                NumericMaskTextBoxProvider numericProvider = (NumericMaskTextBoxProvider)textBox.MaskedEditBoxElement.Provider;
                numericProvider.KeyPress(sender, e);
                e.Handled = true;
                textBox.SelectionStart++;
            }
        }
Completed
Last Updated: 05 Jun 2014 07:08 by ADMIN
The sender of RadDateTimePicker.KeyPress event is currently HostedTextBoxBase which is not the correct sender to expose.
Completed
Last Updated: 12 Feb 2015 06:51 by ADMIN
If you have a GridViewMaskBoxColumn with MaskType set to E-mail and you try to enter and commit a value in this column, you get an exception.