I am seeing an odd behavior. I have the following code:
The first time I mouse into or tab into the box and start typing, I can type one number, and then the box immediately formats it. For example, if I type "1", the box immediately updates to "1.00". the bug is that the cursor is to the left of the 1. So, if I tab into the box and type 123, the box actually now has a value of 231.00. If I select the whole value and click delete, then starting typing, the behavior changes. I can now type a series of numbers and the formatting is not applied until the box loses focus. Please advise if this is a known issue and if there are any workarounds. I have tried it with 2010.1 and 2010.2 and both exhibit the same behavior.
<telerikInput:RadNumericUpDown Minimum="0"
Maximum="999999"
NullValue=""
ValueFormat="Currency"
Value=""
ShowButtons="False"
Width="79"
ValueChanged="TotalPrice_ValueChanged"
UpdateValueEvent="PropertyChanged" />
The first time I mouse into or tab into the box and start typing, I can type one number, and then the box immediately formats it. For example, if I type "1", the box immediately updates to "1.00". the bug is that the cursor is to the left of the 1. So, if I tab into the box and type 123, the box actually now has a value of 231.00. If I select the whole value and click delete, then starting typing, the behavior changes. I can now type a series of numbers and the formatting is not applied until the box loses focus. Please advise if this is a known issue and if there are any workarounds. I have tried it with 2010.1 and 2010.2 and both exhibit the same behavior.