NumericTextBox with german keyboard

17 posts, 0 answers
  1. Achim
    Achim avatar
    13 posts
    Member since:
    Sep 2007

    Posted 10 Mar 2008 Link to this post

    Hello,

    have a small problem with the NumericTextBox and with german keyboard when entering decimal separator (,)..

    With german keyboard layout Textbox only takes decimal separator right above space, the comma found under the numeric block doesnt work.

    When swiching to english keyboard layout in windows settings both key works.

    Culture from textbox is german too. This also happens with NumericGridColumn.

    Think this is a bug, can you please check?

    thanks,
    achim
  2. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 13 Mar 2008 Link to this post

    Hello Achim,

    Can you try setting the DecimalSeparator property of the NumberFormat settings to ",". See the following markup for reference:

        <telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server"
       <NumberFormat DecimalSeparator="," /> 
       </telerik:RadNumericTextBox> 

    Hope this helps.

    Kind regards,
    Pavel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Achim
    Achim avatar
    13 posts
    Member since:
    Sep 2007

    Posted 13 Mar 2008 Link to this post

    Hello Pavel,

    i´ve tried to set the DecimalSeparator explicit to comma as you suggested with same result as before.

    So there is still the situation that when entering numbers, the RadNumericTextBox only takes the comma on alphanumeric side of the keyboard, the comma found on the Keyboard under the numeric block doesnt work for this..

    i have done some more testing:
    - in windows text editor both commas, when switching to hex mode, shows the same hex value.
    - the probem doesnt exist in IE7. It exist in Firefox and Safari. For Opera the NumericTextbox takes all characters entered, also alphanumeric chars..
    - in Firefox and Safari, when entering alphanumeric chars the box blinks and shows an exclamation mark, when entering the comma in numeric block this doesnt happen, it seems it goes into the box but gets immediately deleted..

    Hope this helps you finding more about this issue..

    Thanks,
    Achim



  5. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 17 Mar 2008 Link to this post

    Hello Achim,

    After further testing I can confirm that you are right and this seems to be a bug with the current version of the RadNumericTextbox under the Firefox browser. I have logged it in our bug-tracking system and our developers will fix it. As a token of gratitude for your feedback I have also updated your Telerik points.

    Please excuse us for this temporary inconvenience.

    Regards,
    Pavel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Achim
    Achim avatar
    13 posts
    Member since:
    Sep 2007

    Posted 05 May 2008 Link to this post

    Hi

    is this still on the list to be resolved?
    In Q1 2008 this error also occures to me..

    Greetings
    Achim
  7. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 08 May 2008 Link to this post

    Hi Achim,

    Unfortunately our developers did not have time to look into the problem yet. Please excuse us once again for the inconvenience. We will let you know when the bug is fixed.

    Kind regards,
    Pavel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. Gernot
    Gernot avatar
    32 posts
    Member since:
    May 2008

    Posted 04 Jul 2008 Link to this post

    Hello,
    the numeric "Text" porperty returns always a value with a point as decimal seperator.
    I have set the DecimalSeperator property to ","  but this does not solve the problem.

    Any ideas how to solve this?

    Cheers
    Alaeddin
  9. Achim
    Achim avatar
    13 posts
    Member since:
    Sep 2007

    Posted 04 Jul 2008 Link to this post

    Hi,

    i also have still the problem that numericinput doesn´t accept the "," from the numeric keyboard-block.. So users still have to use the comma from the alphanumeric block to input "330,33" which is very uncommon and slow to type..

    Q1 2008 SP2 says in releasenotes "german culture" fixed, but not for this problem.

    Greetings
    Achim
  10. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 07 Jul 2008 Link to this post

    Hello Achim,

    Unfortunately the discussed bug is not fixed and our developers are still working on possible solution. Please excuse us for the inconvenience caused. We will let you know when the bug is fixed.

    Thank you for your patience and understanding.

    Kind regards,
    Maria Ilieva
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  11. Joachim Roppert
    Joachim  Roppert avatar
    1 posts
    Member since:
    Jan 2009

    Posted 22 Feb 2009 Link to this post

    The issue with using the numeric keypad on german keyboards is still an issue in February 2009. Do you really think we can tell our customers that they have to force their users to use the comma on the main keyboard instead the much more comfortable comma on the numeric keyboard? Could you please give us a reliable information about when that issue will be fixed?!
  12. Dimo
    Admin
    Dimo avatar
    8330 posts

    Posted 24 Feb 2009 Link to this post

    Hello Joachim,

    We have already investigated this problem, but we need some more time for further research and testing. I am afraid we will not be able to allocate time for this before the Q1 2009 release, but I can assure you that we will look into it right after that.

    Best wishes,
    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  13. Steve Newbery
    Steve Newbery avatar
    103 posts
    Member since:
    Apr 2005

    Posted 10 Jun 2009 Link to this post

    This issue seems to still be there in the latest build (2009.1.527) Is it likely to be fixed sometime?

    Until then, is there a client-side workaround, for example to automatically convert a typed period to a comma?
  14. Dimo
    Admin
    Dimo avatar
    8330 posts

    Posted 10 Jun 2009 Link to this post

    Hi Steve,

    Actually, the problem has been fixed for Q1 2009 SP1 (version 2009.1.402). I just tested it and it works.

    <telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server" Culture="German (Germany)" />

    Note that the decimal separator of the textbox' culture must match the decimal separator of the selected keyboard layout. In other words, you have to test with a German keyboard layout.


    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  15. Steve Newbery
    Steve Newbery avatar
    103 posts
    Member since:
    Apr 2005

    Posted 10 Jun 2009 Link to this post

    Dimi,

    Maybe it's a slightly different issue then. If I use the demo page for RadNumericTextBox, and set the culture in the droplist to German, then I cannot type the period character. Only a comma is accepted. If I change the culture to English (United States), then I can type a period.

    Here in Belgium we have a mixture of AZERTY and QWERTY keyboards, but they all have a period on the numeric keypad. The users complain that they can't type the period character when entering numbers.

    So what I'd like to do is allow the numeric keypad to be used even if the culture is French or Dutch, so I have to change the period to a comma on-the-fly. Can this be done? Maybe a small JavaScript?

    Thanks, Steve
  16. Dimo
    Admin
    Dimo avatar
    8330 posts

    Posted 12 Jun 2009 Link to this post

    Hello Steve,

    As I said, the active keyboard layout must match the textbox' culture. If you press the numeric keypad's decimal separator while using the en-US keyboard layout and French (Belgium) textbox, the keypress will be rejected, because the decimal separator of the en-US keyboard is a period, while the French textbox expects a comma.

    Here is a simplified example, which shows how to handle invalid numeric keypad keypresses, but you should be aware that this is more or less a hack:


    <%@ Page Language="C#" %> 
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     
    <html xmlns="http://www.w3.org/1999/xhtml"
    <head runat="server"
    <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
    <title>RadControls for ASP.NET AJAX</title> 
    </head> 
    <body> 
    <form id="form1" runat="server"
    <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
     
    <telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server" Culture="French (Belgium)" onkeydown="keydown(event)" /> 
     
    <script type="text/javascript"
     
    function keydown(e) 
        if (e.keyCode == 110) 
        { 
            $find("RadNumericTextBox1")._textBoxElement.value = $find("RadNumericTextBox1")._textBoxElement.value.replace(",", "") + ","; 
            return false; 
        } 
     
    </script> 
     
    </form> 
    </body> 
    </html> 



    Sincerely yours,
    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  17. Raimondas Kvietkauskas
    Raimondas Kvietkauskas avatar
    2 posts
    Member since:
    Sep 2006

    Posted 30 Jun 2009 Link to this post

    As I see this problem is not resolvet yet. I'm using AJAX_2009_1_527. Sorry, but this bug put us to trouble. We are international company and this problem is  quite a frequent talking point.
  18. Dimo
    Admin
    Dimo avatar
    8330 posts

    Posted 30 Jun 2009 Link to this post

    Hi Raimondas,

    In order to be able to enter a decimal separator with the numeric keypad, you must be using a keyboard layout, which matches the textbox' culture. Is this the case? I tested the functionality locally and it is working as expected.

    Regards,
    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017