Approved
Last Updated: 03 Jan 2017 21:18 by ADMIN
In a scenario when the current culture uses "." as a decimal separator make it possible to have "," as a parsing decimal separator and at the same time have the current culture separator displayed in the control and vice versa.
Approved
Last Updated: 03 Jan 2017 20:38 by ADMIN
Make it possible to be notified when the Value has been changed by user interaction by using the Up/Down buttons
Approved
Last Updated: 03 Aug 2016 13:46 by Telerik Admin
Approved
Last Updated: 03 Aug 2016 13:46 by Patrick
Created by: Patrick
Comments: 0
Category: NumericUpDown
Type: Feature Request
2
Hello,
it would be great if we can have more control about the formatting of the value in the up/down.
I have a scenario where I must use the control to edit a duration in minutes. When the duration is 1 hour or more, it should be displayed as 1:05, for example.
This scenario would be feasible if you had a FormatValue and a ParseValue virtual methods, so we can inherit from the base class and customize completely the display.
Patrick
Declined
Last Updated: 24 Feb 2016 08:59 by ADMIN
Created by: Martin
Comments: 1
Category: NumericUpDown
Type: Feature Request
1
Make the validation against Min/Max value optional as well as the replacing the typed value with the min/max if the typed value is outside of the allowed range.

Currently, the NumericUpDown supports the following two options:

1) The Min/Max possible values are set on the NumericUpDown. This has quite dangerous issue. If the user focus the control, write 4 and press Enter (or click on the OK button), the value is silently and without any warning changed to 100000 and committed.

2) No Min/Max is set on the NumericUpDown. Here, the up/down buttons does not help so much as in the first case. The first up key press sets the value to 1 which is invalid rather than to the first valid value (100000). Almost no-one would like to press 100000 times the Up button to reach the first valid value (I know there is a Page Up button as well but this requires somehow advanced user which know in advance about this feature and it might block other meaningful usage of the Page Up feature).

I would like to see a combination of the two. The NumericUpDown has the Min/Max set but it does not alter the value automatically if not valid.

Examples of the requested behavior:

Scenario 1. The value is null. User presses Up button. The value is set to 100000.

Scenario 2. User enters 4 which is forwarded to the underlying model. User commits the form. The Range(100000, 999999) results in a validation error on the DataForm and the commit is cancelled.

Scenario 3. User enters 4. User presses Up button. Here, there are two possibilities I do not have clear winner up to now. a) The first valid value is set (100000). Cons is that the user might expect change to 5 and does not notice that the value changed to 100000. b) The value is normally incremented to 5, i.e. to an invalid value. 
Completed
Last Updated: 06 Mar 2015 15:19 by ADMIN
ADMIN
Created by: Geri
Comments: 1
Category: NumericUpDown
Type: Feature Request
0

			
Approved
Last Updated: 03 Aug 2016 13:46 by Stefan
I am in need of a two digit display format using the NumericUpDown control. As I have to display the integer value "0" as "00" in all cases. This is a big draw back as I have to be complient to other systems.

-Stefan
Approved
Last Updated: 03 Aug 2016 13:46 by ADMIN
ADMIN
Created by: Yana
Comments: 0
Category: NumericUpDown
Type: Feature Request
0

			
Approved
Last Updated: 31 Oct 2016 13:28 by ADMIN
Currently we're parsing Key.Decimal the same way we're parsing Key.OemPeriod. 
Our clients want to always type the culture decimal separator when pressing the Numpad separator key (del). 

Currently if the client uses a French culture, which decimal separator is comma - pressing the Numpad separator key does nothing.

Workaround: Handling the RadNumericUpDown.PreviewKeyDown method:
private void RadNumericUpDown_PreviewKeyDown(object sender, KeyEventArgs e)
{
	 var num = sender as RadNumericUpDown;
	 if (e.Key == Key.Decimal || e.Key == Key.OemComma || e.Key == Key.OemPeriod)
	 {
		 var textBox = e.OriginalSource as System.Windows.Controls.TextBox;
		 if (!textBox.Text.Contains(num.NumberDecimalSeparator))
		 {
			 textBox.Text += num.NumberDecimalSeparator;
			 textBox.CaretIndex = textBox.Text.Length;
		 }

		e.Handled = true;
	 }
}