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

2 posts, 0 answers
  1. Evgeny
    Evgeny avatar
    12 posts
    Member since:
    Feb 2012

    Posted 01 Mar 2012 Link to this post

    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.
  2. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 01 Mar 2012 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top