Hi,
I would like to set up a UltraNumericEditor with a MaskInput like {double:10.10} (no negative numbers)
The user should be able to set something like 1,000.9876543219
If a users sets a Value of 10 I only want to see 10, if he enters 20.5 I only want to see 20.5, but with this Mask I see 10.0000000000 or 20.5000000000. I also tried n,nnn,nnn,nnn.nnnnnnnnnn and #,###,###,###.########## but with # I must enter 10 times 0 otherwise I'm unable to leave the control.
Any tip how to set the MaskInput, so it is readable and displaying the minimum of digits would be great.
Regards,
Chris
Hi Chris,
There's no way to eliminate trailing zeroes. Perhaps you would be better off using UltraTextEditor and validating the value instead of using a Masked Input control like UltraNumericEditor.
OK thank you for the quick response. I will validate my textbox with an regex then.