Dynamic Text Mask

2 posts, 0 answers
  1. SWN
    SWN avatar
    1 posts
    Member since:
    May 2012

    Posted 04 Aug 2015 Link to this post

    I want to set a RadMaskedTextInput with three dynamic mask options:




     the hyphen needs to move based on the input like:


    example 1: 85-TH-10

    example 2: T-HW1-31

    example 3: 85-TNH-1

     Anyone knows how I need to do this ?


  2. Martin
    Martin avatar
    1044 posts

    Posted 07 Aug 2015 Link to this post


    You should be able to achieve your requirement by subscribing for the ValueChanged event of the masked input control and inside its handler change the value of the Mask property based on the new input Value. Please try this approach and let me know if it works for you.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top