Completed
Last Updated: 02 Aug 2017 14:06 by ADMIN
ADMIN
Tina Stancheva
Created on: 22 Mar 2012 05:36
Category: MaskedInput
Type: Feature Request
19
MaskedInput: Add mode / property so that Value is the same as Text and this way accepts literal symbols and placeholders ('-', "_", ".") in MaskedTextInput.
Old Name was. "Implement a feature to change the Value property based on the Text property ". However, Value is the primary property for this control and that is why we want clients to use Value property, not two-way binding of the Text property that changes the Value internally. That is why we changed the name of the feature request.

Its meaningful and clients will benefit from it. Basically clients want the literals to be included in in the VALUE. And this is meaningful only in TextInput. So new property in RadMaskedTextInput (for ex. IncludeLiteralsInValue) seems fine - Estimate 10. 

Example Scenario: 

Mask="##--##--##", 

User types 123456, Value property becomes "12--34--56" which will have the same value as the Text property.

Example Scenario:

IP Address SDK demo. Look at its code - there is converter in file and convert methods in ViewModel.cs. Both Value and Text are bound. If Value includes the dots, only 1 converter and 1 2way bingding would do the job with less code.
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
6 comments
ADMIN
Martin
Posted on: 17 Aug 2016 07:54
Hello Ramesh

We appreciate your feedback and we will consider it at the time when we include this in our road map. 

As a side note, if you have struggles with our controls or if you want to achieve a specific behavior, you can open a new support ticket from your telerik.com account in our ticketing system.

Regards,
Martin Ivanov
Ramesh
Posted on: 12 Aug 2016 11:51
we need to bind data of type string with mask (timespan with frames "00:00:00:00" of (hh:mm:ss:ff). the last 2 digit represents the frames). for this to bind, we are struggling with the latest RadMaskedTextInput. But in the previous version of RadMaskedTextBox, we had binded directly the MaskedText property without any issues

It would be very helpful to have similar or same type of behaviour

Thanks 
ADMIN
Martin
Posted on: 06 Feb 2015 15:26
Hi Jean-Marc

Thank you for the valuable feedback. We will have it in mind when we get to the implementation of this feature.

Regards,
Martin Ivanov
Jean-Marc
Posted on: 02 Feb 2015 22:43
To my point of view, it is not logical to not have the literals of the mask in the value.  Because the way it is designed now, I have to bind to the value both ways, but if I want with the literal, I have to bind the Text value as well.  It makes no sense.  IT WOULD BE MORE THAN NICE TO HAVE A BOOLEAN THAT INDICATE THAT I WANT THE LITERAL OR NOT.
Yijun
Posted on: 10 Sep 2014 21:36
Would be nice to have it so that you can bind the Text property (including the literals in the mask).
Anthony
Posted on: 07 Mar 2014 13:13
This would be valuable to me. In my use case, I want to assign a phone number format based on the location when it's entered. However, I don't want to replicate that business logic to other systems; especially, for reporting.