Calculator Picker and decimal places

6 posts, 0 answers
  1. Craig
    Craig avatar
    6 posts
    Member since:
    Nov 2010

    Posted 11 Jun 2012 Link to this post

    Is there a way to get the calculator picker to display 1.00 instead of just 1?  I want to use it to display money values and 1.00 feels better than just 1.

  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 12 Jun 2012 Link to this post

    Hi,

     Have you tried setting FormatString for the Binding of the Calculator Picker?

    Kind regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Craig
    Craig avatar
    6 posts
    Member since:
    Nov 2010

    Posted 12 Jun 2012 Link to this post

    Yes.  It seems to be completely ignored.

                <telerik:RadCalculatorPicker Margin="3"
                                             FontSize="12"
                                             Value="{Binding Path=Transaction.Amount, Mode=TwoWay, StringFormat={}{0:C}}">
                </telerik:RadCalculatorPicker>

    The binding works fine as the value changes when I click on the different transactions.  But the format is ignored.  I also tried using a converter but that doesn't work either.

  4. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 14 Jun 2012 Link to this post

    Hello Craig,

    Indeed, string format is not respected for WPF in this case. I will investigate the issue and write you back once I could provide more information on the topic. Thank you for your patience.  

    Kind regards,
    Maya
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  5. Bruno
    Bruno avatar
    7 posts
    Member since:
    Jan 2013

    Posted 26 Jan Link to this post

    Hello,

     

    Do you have any response about this topic ?

     

     

  6. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    544 posts

    Posted 30 Jan Link to this post

    Hello,

    We are currently aware of this issue and you can follow the process of fixing it by subscribing to the following bug report in our feedback portal. You can also vote for the item in order to raise its priority in our backlog.

    Regards,
    Dilyan Traykov
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top