Bug with one position before decimals mask?

2 posts, 0 answers
  1. Ken
    Ken avatar
    104 posts
    Member since:
    Aug 2010

    Posted 10 Jun 2011 Link to this post

    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
  2. Alex Fidanov
    Alex Fidanov avatar
    637 posts

    Posted 10 Jun 2011 Link to this post

    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
Back to Top