When reached MaxLength on RadMaskedTextInput cannot overwrite selected string

4 posts, 0 answers
  1. Jiri
    Jiri avatar
    23 posts
    Member since:
    Aug 2013

    Posted 25 Apr 2014 Link to this post

    Hi,

    I have your latest components and I have problem with RadMaskedTextInput, when I reached MaxLength I was unable to overwrite selected string. When I selected all, it works, but if I selected just some part of the text I cannot overwrite it ... only backspace works.

    don´t you have any workaround or suggestion how to transpass it?
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 30 Apr 2014 Link to this post

    Hi Jiri,

    We are not sure we completely understand your scenario.
    Is it possible for you to send us an example expressed in concrete steps you perform. For  example, Mask is "a5", type 12345, select "345", then type 666. This will help us better investigate your scenario and advice you. Thank you in advance for your cooperation.

    Regards,
    Petar Mladenov
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Jiri
    Jiri avatar
    23 posts
    Member since:
    Aug 2013

    Posted 30 Apr 2014 in reply to Petar Mladenov Link to this post

    Hi Petar,

    thank you for you response. Actualy this is my scenario, I have mask "a5" and when I type 12345 and select 345 and try write over it, nothing happens.
  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 30 Apr 2014 Link to this post

    Hello Jiri,

    I prepared a sample captured video for you showing how we test this scenario. I select "345" and type a.
    The Value becomes 123a45. If you need behavior which will produce "123a" we highly encourage you to use no-mask (set Mask=""). In no-mask scenarios you can limit the input with MaskedInputExtensions properties described here.

    Regards,
    Petar Mladenov
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top