This is a migrated thread and some comments may be shown as answers.

Bug with one position before decimals mask?

1 Answer 45 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Ken
Top achievements
Rank 1
Ken asked on 10 Jun 2011, 01:49 PM
I have a encountered a very strange behavior when using the RadMaskedNumericInput with a mask like "#1.4", so just one position before the decimals. What happens with this mask, if I place the cursor on the said position and enter a digit, it's not entered as an integer digit, instead the cursor jumps at the end (rightmost decimal) and it's entered there. E.g.:

1. Field empty: _.____
2. Cursor on first position: |_. ____
3. Enter a digit, e.g. 1: _.___1

I would've expected after step 3 that the control looks like so: 1.0000

Also, if the control's Value property is databound, the view model's bound property is not updated. This also happens for this mask if you enter directly a value at the rightmost part of the control (like directly step 3 above). For masks "#2.x" is seems to work fine.

You can find a repro solution here: http://cid-5a652c421a7d71ae.office.live.com/self.aspx/New%20folder/MaskedNumericInputTest.zip

1 Answer, 1 is accepted

Sort by
0
Alex Fidanov
Telerik team
answered on 10 Jun 2011, 02:29 PM
Hi Adrian,

Thank you for reporting this. This is an issue with the control and I have updated your Telerik points. The expected behavior is 1.0000 and this will be resolved with the next internal build. You can still check this issue's progress here.

All the best,
Alex Fidanov
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Ken
Top achievements
Rank 1
Answers by
Alex Fidanov
Telerik team
Share this question
or