RadNumericTextBox does not accept entered value

2 posts, 1 answers
  1. Per
    Per avatar
    7 posts
    Member since:
    Sep 2008

    Posted 13 Jul 2012 Link to this post

    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">
        <form id="form1" runat="server">
           <telerik:RadScriptManager ID="rcmMain" runat="server"></telerik:RadScriptManager>
             <telerik:RadNumericTextBox ID="txtNumber" runat="server"></telerik:RadNumericTextBox>
             <telerik:RadNumericTextBox ID="txtNumber2" runat="server"></telerik:RadNumericTextBox>
    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?
  2. Answer
    Milena avatar
    244 posts

    Posted 17 Jul 2012 Link to this post


    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.

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