Unfortunately this scenario if not supported out of the box. However, I would suggest you to implement the logic by yourself. Here are the steps to accomplish this:
- Handle ValueChanged event.
- In the handler add your custom logic to change the NumberDecimalDigits property. I would suggest you to use e.NewValue to get the inputted value in the RadNumericUpDown control. For example:
((e.NewValue * 1000) % 10 != 0 )
numericControl.NumberDecimalDigits = 3;
numericControl.NumberDecimalDigits = 2;
Attached you can find the sample. I hope this suits your needs.
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?
Telerik Public Issue Tracking
system and vote to affect the priority of the items