Round Off Issues in RadMaskedTextBox

2 posts, 0 answers
  1. Jaime
    Jaime avatar
    12 posts
    Member since:
    May 2012

    Posted 19 Dec 2013 Link to this post


     Hi,
      
    We are using RadMaskedTextBox in our application. We have faced Round Off issues with RadMaskedTextBox.

     Below are the issues :-

    1)When we are entering values into RadMaskedTextBox , we can only enter the number of decimals in the Mask and it does not round, if we continue to type numbers, the last digit will keep changing to whatever we are typing.

    2)
    When we copy and paste values from say Excel or Notepad that contain more digits after the decimal than what we set in the mask. , the value is not rounded, instead, the last digit in the number being pasted is the last digit displayed. i.e. if we  paste the value 1.10003 and we have selected 2 decimal places in 1.2.2, the value will be displayed as 1.13, not 1.10 which is the rounded value.

    Please help us  to figure out this issues.

    Thanks.
    Wayne
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 24 Dec 2013 Link to this post

    Hi Wayne,

    We are aware of the limitations of the RadMaskedTextBox control. This is why we developed new suite of controls which will replace the old and limited control. This suite is the RadMaskedInput and we strongly suggest using it instead.

    You can take a look at our documentation, online demos and our XAML SDK where ready to run project can be downloaded.

    Please give this suite a try and let us know if there are any other requirements that you have.

    Regards,
    Pavel R. Pavlov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top