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

RadNumericTextBox does not accept entered value

1 Answer 69 Views
Input
This is a migrated thread and some comments may be shown as answers.
Per
Top achievements
Rank 1
Per asked on 13 Jul 2012, 08:14 AM
I have a strange thing when entering values in a RadNumericTextbox with and without decimals. I was able to reproduce the behavior with this simple form:
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
       <telerik:RadScriptManager ID="rcmMain" runat="server"></telerik:RadScriptManager>
    <div>
        <h2>Sample</h2>
         <telerik:RadNumericTextBox ID="txtNumber" runat="server"></telerik:RadNumericTextBox>
         <telerik:RadNumericTextBox ID="txtNumber2" runat="server"></telerik:RadNumericTextBox>
    </div>
    </form>
</body>
</html>
 
To reproduce do the following:
1) In the first textbox enter 2.2 (i have Swedish culture set so comma (,) is my my decimal separator).
2) Using the mouse, click the second textbox.
3) My first textbox now shows 2.20 (and thats what i expected).
4) Click the first textbox again (value selected).
5) Just enter a 2 on the keyboard
6) Click on the second textbox

My first textbox still shows 2.20 but I was expecting 2.00!

This surely cannot be an expected behavior, is there something I am missing?  A property that must be set?

The funny thing is that I can cure this behavior by pressing [ENTER] while in the first textbox. After that all works as expected.

Using v.2012.2.607.40 components.

Anyone got an idea what this is all about?

1 Answer, 1 is accepted

Sort by
0
Accepted
Milena
Telerik team
answered on 17 Jul 2012, 02:09 PM
Hello,

Indeed the reported issue can be observed in the 2012.2.607 release (Q2 2012). The good news is that the problem is already fixed in our latest internal build. My suggestion is to upgrade to this version of RadControls and verify whether any other issues exist.

Greetings,
Milena
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.
Tags
Input
Asked by
Per
Top achievements
Rank 1
Answers by
Milena
Telerik team
Share this question
or