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

If I click down button for mimum value in control, than it make value less

1 Answer 70 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
Evgeny
Top achievements
Rank 1
Evgeny asked on 01 Mar 2012, 11:36 AM
When I put in NumericUpDown minimum value, and I click down button then value of binding variable becomes less then minimum, but control shows right value.
I used this code for initialize in xaml:
<telerik:RadNumericUpDown Name="TopNSpinner" IsEditable="True" Minimum="1" ValueFormat="Numeric"
Value="{Binding Result.TopNEventsCount, Mode=TwoWay}"/>

And this code for initializing in C#:

TopNSpinner.NumberFormatInfo = new NumberFormatInfo() { NumberDecimalDigits = 0 };

So, if I have value is 1 in control, then i can get 0 in variable, but control will show 1.
Please help.

1 Answer, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 01 Mar 2012, 04:18 PM
Hello,

We are aware of this issue and we will do our best to fix it for the upcoming Service Pack release.

Regards,
Rosi
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
NumericUpDown
Asked by
Evgeny
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Share this question
or