This is a migrated thread and some comments may be shown as answers.

Unable to enter a decimal point

8 Answers 154 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
GEB
Top achievements
Rank 1
GEB asked on 31 Aug 2009, 04:33 AM
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" /> 
 

8 Answers, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 31 Aug 2009, 04:00 PM
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.
0
GEB
Top achievements
Rank 1
answered on 31 Aug 2009, 04:39 PM
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.
0
Hristo Borisov
Telerik team
answered on 31 Aug 2009, 05:46 PM
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.
0
GEB
Top achievements
Rank 1
answered on 31 Aug 2009, 05:56 PM
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?
0
Jeff
Top achievements
Rank 1
answered on 31 Aug 2009, 10:23 PM
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.
0
Hristo Borisov
Telerik team
answered on 02 Sep 2009, 09:48 PM
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.
0
John
Top achievements
Rank 2
Iron
answered on 26 Mar 2010, 10:00 PM
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.
0
Valeri Hristov
Telerik team
answered on 29 Mar 2010, 01:48 PM
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.
Tags
NumericUpDown
Asked by
GEB
Top achievements
Rank 1
Answers by
Boyan
Telerik team
GEB
Top achievements
Rank 1
Hristo Borisov
Telerik team
Jeff
Top achievements
Rank 1
John
Top achievements
Rank 2
Iron
Valeri Hristov
Telerik team
Share this question
or