RadMaskedTextInput truncates last character on fast key type on enter key at last

1 posts, 0 answers
  1. Rakesh
    Rakesh avatar
    19 posts
    Member since:
    Feb 2012

    Posted 21 Mar 2013 Link to this post

    I found a bug in RadMaskedTextInput.
    My user enters securities(i.e MSFT, NFLX) very fast in textinput and clicks enter which i am handling keyup event.

    Here I am making Placeholder=" " because i dont want anything mask in the textinput.
    try to enter text very fast and click enter.
    1) considering no key up
         you can notice the last character gets truncated.
    2) handling key up as below code
        you get all the text entered but you can see strange behavior when you try to delete it using delete key.

    <telerik:RadMaskedTextInput x:Name="xText1"
                                 Placeholder=" "
    private void xText1_KeyUp(object sender, System.Windows.Input.KeyEventArgs e)
               if(e.Key == Key.Enter)
                   Dispatcher.BeginInvoke(() =>
                       xText1.Value = xText1.Value.ToUpper();
                       xText1.SelectionStart = xText1.Value.Count();

    If you need any further information please let me know.


Back to Top