RadNumericTextBox - Point on numeric keyboard not functioning in MS IE9

10 posts, 0 answers
  1. Pieter
    Pieter avatar
    9 posts
    Member since:
    Dec 2006

    Posted 31 Aug 2011 Link to this post

    We use RadControls for ASP.NET AJAX version 2011.2.712. And we think the point (.) on the numeric keyboard isn't functioning correctly in MS IE 9 for the RadNumericTextBox.

    We use the following markup for the control.

     

    <telerik:RadNumericTextBox id="tbVanKm" runat="server" Width="150px" 
        MaxLength="10"  NumberFormat-GroupSeparator=""  
        NumberFormat-DecimalSeparator="." NumberFormat-DecimalDigits="3" 
        Culture="Dutch (Netherlands)">
        <ClientEvents OnError="onError" > </ClientEvents>
    </telerik:RadNumericTextBox>
  2. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 05 Sep 2011 Link to this post

    Hello Pieter,

    It seems to be a bug inside the RadNumericTextBox. Actually it is caused because the IE9 does not support the fireEvent function anymore but start to support dispatchEvent function of the elements.

    Generally because the attributes in the argument of keydown event are read only. The event is canceled when numeric pad enters different sign (the decimal separator of the numeric pad can be dot or comma depending on the cultural settings) and then new event with the corrected keyCode is fired. And this is where the current code fails because the IE9 still has element.fireEvent function and our code uses it, but the function does not work.

    Our developers are aware of this bug and they will fix it.

    Regards,
    Vasil
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. RBarnes
    RBarnes avatar
    46 posts
    Member since:
    Oct 2012

    Posted 09 Jan 2012 Link to this post

    We to are seeing some issue with the point (.) on the numeric keyboard and IE9.

    Version 1011.3.1115.35

    We can enter an intial value of .25 in the text box and it seems to work, tab out of the field, the tab back to the field and enter .25 we get 25.0.




  5. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 10 Jan 2012 Link to this post

    Hello Dennis,

    Make sure that the DecimalSeparator and the GroupSeparator of theNumberFormat for the RadNumericTextBox are different.
    You could have this issue, if the separators are the same "." If this is not the case, please post the declaration of your input to test it locally here.

    Regards,
    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
  6. RBarnes
    RBarnes avatar
    46 posts
    Member since:
    Oct 2012

    Posted 10 Jan 2012 Link to this post


    The group seperator and the Decimal Seperator being different seem to make no difference, which I'd already tried prior to posting.

    Here is my declaration.

    <telerik:RadNumericTextBox ID="txtStaticPressure" runat="server" CausesValidation="true"
     Width="40px" NumberFormat-DecimalDigits="3" SelectionOnFocus="SelectAll" MinValue="0"
     NumberFormat-GroupSeparator="," NumberFormat-DecimalSeparator="." CssClass="TextAlignRight"></telerik:RadNumericTextBox>


  7. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 11 Jan 2012 Link to this post

    Hello Dennis,

    I tested your exact code with 2011.3.1115.35 version in IE9 using the decimal point from the numpad and it still works as expected here. If I enter .25 and tab away I get 0.250 and if then focus it still stays 0.25
    What is the culture applied in your page? Could you also test with the latest version of the controls and see if it will make a difference.

    Regards,
    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
  8. Roger Barnes
    Roger Barnes avatar
    38 posts
    Member since:
    May 2008

    Posted 11 Jan 2012 Link to this post

    The value doesn't change when the control gains focus again, after you have entered .25 tab out, tab back to it, and try to re-enter .25 using the (.) on the numer keypad. 
    The value displayed is 25.

    However you can enter 0.25 and it will accept it that way.

    I've just installed the latest version 2011.3.1305.35 and this issue still occurs.


  9. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 12 Jan 2012 Link to this post

    Hello Roger,

    Sorry I was misunderstand the reproducing steps that your colleague Dennis described. Now I see the problem here, and I have logged it is a bug, so our developers will fix it. I am awarding you with 500 Telerik Points as appreciation for  your feedback that is helping us making our products better.

    Kind regards,
    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
  10. Susanne
    Susanne avatar
    1 posts
    Member since:
    Oct 2010

    Posted 27 Jan 2012 Link to this post

    I am experiencing the same issue.  Is there a workaround?
  11. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 30 Jan 2012 Link to this post

    Hi Susanne,

    This issue is already fixed. It should work correct if you download the latest internal build.

    Kind regards,
    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017