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

RadNumer

3 Answers 63 Views
Input
This is a migrated thread and some comments may be shown as answers.
Tarun
Top achievements
Rank 1
Tarun asked on 16 Mar 2012, 01:40 PM

My apologies for posting this bug here. I tried posting it in the PITS, but it got lost somewhere. So posting it here once again.
-------------------------------------------------------------------------------------------------------------
With the following settings for RadNumericTextBox,

<telerik:RadNumericTextBox ID="RadInputNum1" runat="server" NumberFormat-DecimalSeparator="," NumberFormat-GroupSeparator="."/>

 

if i decide to enter the numbers using the number keys on the right-hand side of my keyboard (not the keys above the Qwerty keys), i face some problem.
 

Say, by mistake I press dot (.) (with the intention to add decimal). Ofcourse, the control does not allow me to enter that dot (.) because decimalseparator is set as comma (,). 

The problem occurs, when i continue to press the comma (with the intention to add decimal) after pressing the dot (.) and i enter digits after the decimal.

In this case, first problem is that i see two commas in edit mode (since i pressed dot and then comma).

Second problem is, that the value gets modified when i navigate out of the control.

E.g. I press:

123456 then a dot {from right hand side number keys} (.) then a comma (,) and finally 78

In this case, i get the display as "123.456,00"

Ideally it should display "123.456,78"

3 Answers, 1 is accepted

Sort by
0
Tarun
Top achievements
Rank 1
answered on 20 Mar 2012, 07:10 AM
Any updates on this guys ???
0
Vasil
Telerik team
answered on 21 Mar 2012, 09:53 AM
Hello Tarun,

Could you confirm that you use latest version of the controls?
I can remember that few months ago we fixed an issue with the decimal point from the NumPad.
Now if you press the decimal separator key on the NumPad it will enter dot or comma (or other character) depending on the DecimalSeparator that is set.

When I enter "123456(del NumPad key)78" I get "123.456,78".

Greetings,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Tarun
Top achievements
Rank 1
answered on 21 Mar 2012, 10:23 AM
Hi Vasil,

Thanks for the updates.

Indeed i am using very old version (Q3 2010) of Telerik Dlls.
Will try the scenario with the latest dlls and will post my observations soon.

Thank you.
Tarun Singla
Tags
Input
Asked by
Tarun
Top achievements
Rank 1
Answers by
Tarun
Top achievements
Rank 1
Vasil
Telerik team
Share this question
or