RadMaskedTextInput cut/copy/paste

2 posts, 1 answers
  1. B
    B avatar
    74 posts
    Member since:
    Jul 2011

    Posted 15 Jan 2014 Link to this post

    Hi,

    I have been getting messages that the RadMaskedTextBox has been deprecated for a long time, so I figured I would replace them with the new controls (like RadMaskedTextInput).

    But I can't get RadMaskedTextInput to behave in a normal way regarding cut/copy/paste, the options I use are:

    <telerik:RadMaskedTextInput x:Name="MainTextBox"

    IsClearButtonVisible="False"

    Mask=""

    HorizontalAlignment="Stretch"

    InputBehavior="Insert">


    But I get unexpected behaviour with cut/copy/paste:
    - When I try to copy/paste it overwrites the entire text
    - When I press cut it shows a mask "____" were the selected characters where, eventhough I have Mask=""

    What I was expecting is the same behaviour as RadMaskedTextBox:
    - When I select a part of the text and press paste it should replace the selected text only
    - When I put the cursor somewhere in the text and press paste it should put the copied text after the cursor
    - After text is pasted it should put the cursor after the pasted text
    - When I press cut it should remove the selected characters.

    Is there a flag to make cut/copy/paste in RadMaskedTextInput behave like this?

    Regards,
    Bayram

    P.S.

    I didnt include a demo because I was able to reproduce the issue with:

    http://demos.telerik.com/silverlight/#MaskedInput/FirstLook

    The cut behaviour doesnt show as clearly because the Mask is a space in your demos, but you can for example cut some characters in the middle to see what I mean.
  2. Answer
    Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 17 Jan 2014 Link to this post

    Hi,

    Unfortunately, you hit bugs in the RadMaskedTextInput which are already logged in our system. For your convenience I exposed public items (here and here) in our feedback portal so that you can follow and vote for them. As a small compensation for your valuable feedback, I updated your Telerik account accordingly.

    Please accept our apology for the inconvenience caused.

    Regards,
    Pavel R. Pavlov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top