Telerik Forums
UI for Silverlight Forum
2 answers
66 views

Hi,

I have a NumericUpDown control wich value is bound to a viewmodel's property that initially is null. I'd like to set an initial value so when user first click on one of the arrows the control starts at this value instead of starting at Minimum + SmallChange (1 by default).

 

Is this possible

 

Thanks in advance

Daní
Top achievements
Rank 1
 answered on 01 Mar 2017
15 answers
609 views
Hi,

I have trouble when trying use the NumericUpDown control with the following 
configuration:

ValueFormat = ValueFormat.Percentage;
PercentiDecimalDigits = 4;

Scenario: If I set the value 0.4  for this control, after press TAB key to exit the control, when the control lost focus, it show 4.0000 %, but I need the control shows then value that I entered, it means, 0.4000 %.

How could I fix this, please?

Thanks
Tom
Top achievements
Rank 1
 answered on 11 Aug 2016
3 answers
211 views

Greetings. 

We are using a RadNumericUpDown in a Silverlight application. Usually users enter positive decimal values. A French user reported being unable to enter negative values. We have tested this and found the following

- Normally (for example US or UK keyboard) the minus key toggles the sign of the value in the control

- When set to French, users press the shift key to obtain number characters - the control behaves correctly

- When set to French, the minus key is in the same position as the 6 key in US/UK keyboards and it does not toggle the sign of the value

- The minus key in the numeric keypad work correctly but most of our users use laptops and this is not an option

- This issue was replicated by setting the keyboard to French and with the OnScreen keyboard

- The minus character can be pasted into the control.

- The RadNumericUpDown does not appear to have any culture properties.

We have not found any mention of this issue in the Telerik forums (most keyboard issues related to decimal or thousands separators and are culture related)

Can anyone else replicate this issue? Does anyone have a work around besides copy-pasting the minus key?

Thanks in advance

Tom

Yana
Telerik team
 answered on 14 Mar 2016
2 answers
46 views

Hello,
we are using a NumericUpdown and have set UpdateValueEvent to PropertyChanged and UpdateSourceTrigger to PropertyChanged for the binding.

The property is updated for each change which is the normal behavior.
The property is not updated when the content of the NumericUpDown is selected and deleted by pressing the Delete key.
In this case the property is updated as soon as the control loses focus.

What we expect and need is an immediate update of the property since this should be the behavior according to the property settings. 
Any help would be appreciated. We are using version 2015 Q3.

Regards,
Bert

 

Yana
Telerik team
 answered on 09 Mar 2016
1 answer
75 views

Hello everyone!
I'm using RadMaskedNumericInput by Telerik and I have some problems with decreasing value by pressing key down. 

For example:
The "MaskedInputExtensions.Minimum" is set in "1" and when page is opened,  I can see number "1". After that I'm pressing key up many times and the number is increasing. No matter how much time I will press key up button, the number always increasing. And for example: I have increased the number to "12" and when I'm pressing key down to decrease this number, it stops on "10". The same problem with "100" and "1000" etc....

Someone can help me?

 
Milena
Telerik team
 answered on 28 Sep 2015
18 answers
351 views
Hello,

I'm using RadNumericUpDown and in some occasions I'd like to set it like "ReadOnly"! The approximated property that I found is IsEditable!

When setting IsEditable to false, the controls allows to delete content with keyboard and also to change value using mouse clicks on arrows.

Is there any work-arround for this issue? Do you have any plans to fix it?

Thanks.

Best Regards,
Rogério
Kalin
Telerik team
 answered on 23 Sep 2015
7 answers
218 views
Hello,

I use RadNumericUpDown for a list of qcm and users can put their score for each question.
and I faced the following problem   :
 
 the ValueChanged event is fired many Times !!

can you help me a bout that please  ?

thanks aicha
Vladi
Telerik team
 answered on 05 Aug 2015
1 answer
95 views
How do I update the background color of the RadNumericUpDown control inside of a RadGridView?

Thanks,
Chad
Nasko
Telerik team
 answered on 09 Dec 2014
4 answers
155 views
 

My xaml generates an error:

<UserControl
xmlns:globalization="clr-namespace:System.Globalization;assembly=mscorlib">
                                                  
  
<telerik:RadNumericUpDown Value="{Binding adeYearManufacture, Mode=TwoWay, ValidatesOnDataErrors=True, ValidatesOnNotifyDataErrors=True, ValidatesOnExceptions=True}"
                                                                          NumberDecimalDigits="0" ShowButtons="False" IsInteger="True" Maximum="9999" NullValue="0" Minimum="0" Width="100" TabIndex="12" HorizontalAlignment="Left" VerticalAlignment="Top"
                                                                          IsEditable="{Binding IsPreview, Converter={StaticResource BooleanInvertConverter}}">
                                                    <telerik:RadNumericUpDown.NumberFormatInfo>
                                                        <globalization:NumberFormatInfo NumberGroupSeparator="" NumberDecimalDigits="0" />
                                                    </telerik:RadNumericUpDown.NumberFormatInfo>
                                                </telerik:RadNumericUpDown>


System.Windows.Markup.XamlParseException occurred
  Message=The type 'NumberFormatInfo' was not found because 'clr-namespace:System.Globalization;assembly=mscorlib' is an unknown namespace.

How can I set the number format???
Kalin
Telerik team
 answered on 19 May 2014
7 answers
69 views
Hi,

We are using numeric up downs in a grid, but we do not want the up and down keys to change the value as we would like to preserve them for navigating around the grid. Previously, we were able to do this by overriding the OnKeyDown event. Since updating to 2014.1.224 from 2013.2.0611, this no longer works. I've compared the two binaries with reflector and it looks like the signature of the OnKeyDown event has changed from OnKeyDown(KeyEventsArgs e) to OnKeyDown(object sender, KeyEventsArgs e). We are unable to override this new event, and therefore the base one is always firing.

Can you provide a workaround please?

Thanks,
Andrea
Konstantina
Telerik team
 answered on 13 May 2014
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?