"NumberDecimalDigits" property

3 posts, 0 answers
  1. Dandan
    Dandan avatar
    17 posts
    Member since:
    Mar 2009

    Posted 28 Apr 2009 Link to this post

    Hi,

    I fixed "NumberFormatInfo.NumberDecimalDigits " property to be "0". The control display "0", but the Up & Down button don't work!
    Please if you can help...

    The code:


                NumericControl.NumberFormatInfo.NumberDecimalDigits = 0;



    Thanks,
    Dana

                          

  2. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 29 Apr 2009 Link to this post

    Hi Dandan,
     
    The problem is that small change by default is set to  0.1.  Hence, when you remove the decimal digits it can't iterate the value by 0.1. The solution is to set SmallChange=1 , and RadNumericUpDown will be working as expected.

    Regards,
    Boyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft banner
  4. Dandan
    Dandan avatar
    17 posts
    Member since:
    Mar 2009

    Posted 05 May 2009 Link to this post

    Thanks!

Back to Top