Hello. How can I hide currency mask in RadMaskedCurrencyInput when I select this control? (I see next number ", , , 1.01", but I need to see only 1.01). Thanks.
1 Answer, 1 is accepted
0
Pavel R. Pavlov
Telerik team
answered on 12 Jun 2013, 10:22 AM
Hi Sergey,
As far as I understand your scenario you have defined a Mask with an empty placeholder (e.g. " ") and now your requirement is to hide the separators when the RadMaskedCurrencyInput control is focused. The visibility of the separators is controlled by the AutoFillNumberGroupSeparators property. If you set it to False the separators will not be visualized. Please note that you are not allowed to fill number separators manually in the control. Also, visualizing separators when they are needed is not supported.
However, you can try using our RadMaskedTextInput control and bind its Value property to property defined in your View-Model through a Converter. In that converter you can implement your custom logic for positioning the separators and validating the users input. Furthermore, you can use the MaskedInputExtensions to restrict the user's input.