Unable to enter a decimal point

9 posts, 0 answers
  1. GEB
    GEB avatar
    228 posts
    Member since:
    Dec 2008

    Posted 30 Aug 2009 Link to this post

    I am using the latest version of RadControls for SL3.  The default value in my RadNumericUpDown control is 0.00.  It is initially displayed properly.  However, if the user swipes and deletes this value and then tries to enter any value with a decimal point, the decimal point is ignored.  I had seen an earlier post regarding this being an issue on laptops.  However, I have tried this on several machines (including Mac/Safari), and I have the same issue regardless of whether the machine is a laptop or not.  Also, my control never shows the current symbol ($).

    Here is the XML I am using to define the control:

            <telerik:RadNumericUpDown x:Name="FeeAmount" Width="100" Height="20" Margin="0,5,0,0" Grid.Row="2" Grid.Column="1"   
                                      HorizontalAlignment="Left" 
                                      FontSize="10" Minimum="0.00" Maximum="99999.99" Value="0.00" ValueFormat="Currency"   
                                      SmallChange="1" LargeChange="10" /> 
     
  2. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 31 Aug 2009 Link to this post

    Hi GEB,

    That is strange. I created a project with exactly the same properties like your RadNumeric and it was all working fine. Note that you need to use the Numpad dot in order to set the decimal digit.
    Are you setting some kind of NumberFormatInfo in the code even not for this RadNumeric? Currently there is a bug which is already fixed and will be available in the next release, so when you set NumberFormatInfo to a RadNumericUpDown the settings are applied to all of the numeric controls on the Page. So this can cause a mix-up.

    Greetings,
    Boyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. GEB
    GEB avatar
    228 posts
    Member since:
    Dec 2008

    Posted 31 Aug 2009 Link to this post

    I did not realize that the decimal point on the number keypad was required.  I will give that a try.  I was using the 'period' as the decimal point, which is what most users will most likely use.
  5. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 31 Aug 2009 Link to this post

    Hi Gary,

    What is the decimal separator in your current culture set in the Language settings in the Control Panel of your computer? Try setting the decimal separator to a "." (dot), and check whether the keyboard . works.

    All the best,
    Hristo Borisov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  6. GEB
    GEB avatar
    228 posts
    Member since:
    Dec 2008

    Posted 31 Aug 2009 Link to this post

    The number seperator is set to "." (dot) in my language settings.  If the user types in "." (period), it doesn;t work.  But if the user sets the NUMLCK, and types ".", it works.  I assume that you are looking for a particular key value, and PERIOD is not one of them.  I believe that this is going to be very confusing to many users who are accustomed to using the PERIOD in all other applications.  Any reason why PERIOD should not be allowed?
  7. Jeff
    Jeff avatar
    2 posts
    Member since:
    Apr 2009

    Posted 31 Aug 2009 Link to this post

    I was just looking at the demo webpage and noticed this same thing. I just downloaded the trial to see if this was a real problem or not and thought I should report it here.

    Why would you only allow decimal to be entered off a numeric keypad? A lot of notebook keyboards don't even have a proper numeric keypad.

    This is the third release of the Telerik Silverlight controls I have looked at over the past year. Everytime I look at it, there is something wrong with the numeric editor which prevents me from looking further at the rest of the components. I figure if something basic like the numeric editor can't be done properly, what hope is there for the rest of the components. Which probably sounds petty on my behalf, but unfortunately that's the impression that I get.
  8. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 02 Sep 2009 Link to this post

    Hello Jeff and Gary,

    We have not intentionally constrained the keyboard input of a decimal point. Its absence in any case is a bug, and will be fixed for our next release. Even we have resolved what might be a pretty similar issue 2 weeks ago, so my advice is to download the latest internal build and check the behavior at this stage of development. In any case it will help us understand what the problems come from.

    Thank you for contacting us and we look forward to receiving more valuable feedback from you.

    Greetings,
    Hristo Borisov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  9. John
    John avatar
    7 posts
    Member since:
    Sep 2007

    Posted 26 Mar 2010 Link to this post

    I am experiencing the same issue. I ma using Telerik.Windows.Controls.Input version 2009.2.812.1030. I can enter a decimal on your Demo but cant do it in my project.
  10. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 29 Mar 2010 Link to this post

    Hello John,

    This problem is fixed in the recent versions of RadNumericUpDown - the binaries from Q1 2010 and the latest internal builds of Q3 2009 contain the fix.

    Greetings,
    Valeri Hristov
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
Back to Top
DevCraft banner