2010.2.1015.35 Decimal Digits broken?

6 posts, 0 answers
  1. Lenny_shp
    Lenny_shp avatar
    343 posts
    Member since:
    Jul 2006

    Posted 25 Oct 2010 Link to this post

    Previous verison of the control if DecimalDigits is not set it will not force any decimal places with AllowRounding="false".
    Now by default it is rounded to 2 decimal places per regional setting.

    I hard coded 6 decimal places...

  2. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 26 Oct 2010 Link to this post

    Hi Lenny,

    I cannot observe any difference in the behavior between the Q2 Service Pack 2  and the Q3 beta released last Friday (on 22th of October). Could you paste some markup that reproduces the issue?

    Greetings,
    Pavel
    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? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Lenny_shp
    Lenny_shp avatar
    343 posts
    Member since:
    Jul 2006

    Posted 26 Oct 2010 Link to this post

    The previous version used was 2009.3.1103.35.
  4. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 26 Oct 2010 Link to this post

    Hello Lenny,

    I still cannot reproduce the problem with our latest version. Here is the markup I use for testing:
    <telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server"
        NumberFormat-AllowRounding="false">
    </telerik:RadNumericTextBox>


    Greetings,
    Pavel
    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? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Steve Borman
    Steve Borman avatar
    3 posts
    Member since:
    Apr 2005

    Posted 07 Dec 2010 Link to this post

    I too have had this problem.  In version 2009.2.826.35 Setting AllowRounding to false and not specifying the decimal digits, allowed the user to enter any number of decimal digits, version 2010.2.713.35 now defaults this to 2.  As a work around I have limited the deciumal digits to 4 but this is not ideal as I would like any number of decimal digits to be allowed.
  6. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 09 Dec 2010 Link to this post

    Hi Steve,

    Indeed the behavior has changed, since we had customers who required to be able to clip the digits after the specified number in the DecimalDigits property without rounding them. You can always set the property to a higher value.

    Regards,
    Pavel
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top