I want to set a RadMaskedTextInput with three dynamic mask options:
AA-AA-AA
A-AAA-AA
AA-AAA-A
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 ?
1 Answer, 1 is accepted
0
Martin Ivanov
Telerik team
answered on 07 Aug 2015, 07:44 AM
Hello,
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.
Regards,
Martin
Telerik
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