Issue with RadNumeric Text box (for Latest Telerik DLL)

5 posts, 0 answers
  1. Ajay
    Ajay avatar
    1 posts
    Member since:
    Jul 2010

    Posted 14 Apr 2015 Link to this post

    Dear Telerk Support,

     I have been using latest Telerik Control (i.e. UI for ASP.NET AJAX Q1 2015 [2015.1.401.40]) within one of my project.

     The problem I'm having is with RadNumeric Text Box.

     My RadNumeric text box is as defined below:

    <telerik:RadNumericTextBox SkinID="UnitRadNumericTextBox" runat="server"
          Font-Size="12px" style="vertical-align: middle;border-top:1px solid #cccccc; border-right: 1px solid #cccccc;border-bottom: 1px solid #cccccc;border-left:1px solid #cccccc;background-color: #fff;" Font-Names="Trebuchet MS"  Height="22px" Border="1px solid #8384a0"
         Value="0.00" NumberFormat-DecimalDigits="2"
         Width="92%" MinValue="1" MaxValue="9999.99" >
        <FocusedStyle HorizontalAlign="Right" />
        <EnabledStyle HorizontalAlign="Right" />


    Problem here is that, for this new DLL, when I click on this RadNumeric TextBox, 0  does not gets selected as whole as it was earlier when we press TAB to redirect to this RadNumeric Textbox.

     Actually , when we click on this text box & write 1, it becomes 10 & not 1.

     This is the problem in new DLL, when I reverted my entire package to old DLL (i.e. 2015.1.225.40) it all went good.

    Please help.



  2. Viktor Tachev
    Viktor Tachev avatar
    2194 posts

    Posted 15 Apr 2015 Link to this post

    Hi Ajay,

    Similar issue to the one you describe was observed in Chrome. Please ensure that you have the latest version of Chrome running.

    In case the issue persists you can try to cancel the mouseup event as a workaround.

    <telerik:RadNumericTextBox ID="RadNumericTextBox1" SkinID="UnitRadNumericTextBox" runat="server" onmouseup="event.preventDefault(); return false;"
        Value="0.00" NumberFormat-DecimalDigits="2" SelectionOnFocus="SelectAll"
        Width="92%" MinValue="0" MaxValue="9999.99">

    Viktor Tachev

    See What's Next in App Development. Register for TelerikNEXT.

  3. RBarnes
    RBarnes avatar
    55 posts
    Member since:
    Oct 2012

    Posted 05 Jun 2015 in reply to Viktor Tachev Link to this post


    Version Q1 2015 [2015.1.401.40] 

    I am seeing the same issue with Chrome only, RadnumericTextBox with a default value of 0, when you click in the textbox, it selects the value, then unselects it.  This only appears to happen in chrome and was not an issue prior to upgrading to the above version.



  4. RBarnes
    RBarnes avatar
    55 posts
    Member since:
    Oct 2012

    Posted 05 Jun 2015 in reply to RBarnes Link to this post

    The workaround does seem to work, onmouseup="event.preventDefault(); return false;"

    However that's not really a practical resolve when you have a very large app with allot of RadNumericTextBox's

  5. Viktor Tachev
    Viktor Tachev avatar
    2194 posts

    Posted 08 Jun 2015 Link to this post


    The developers are working towards fixing the issue as soon as possible.

    If you have large number of numeric input controls on the page you can try couple of approaches as a workaround for the issue until a permanent fix is available.

    • Use jQuery to attach handler for the mouseup event of all RadNumericTextBox controls

    $(document).ready(function () {
        $(".riTextBox").on("mouseup", function () {
            return false;

    • Use RadInputManager and regular TextBox controls for the numeric values

    <asp:TextBox runat="server" ID="TextBox1" Text="0" />
    <asp:TextBox runat="server" ID="TextBox2" Text="1" />
    <telerik:RadInputManager runat="server" ID="RadInputmanager1">
        <telerik:NumericTextBoxSetting SelectionOnFocus="SelectAll">
                <telerik:TargetInput ControlID="TextBox1" />
                <telerik:TargetInput ControlID="TextBox2" />

    The second approach would likely produce better performance.

    Viktor Tachev
    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 Feedback Portal and vote to affect the priority of the items
Back to Top