Craig Ritchie
Top achievements
Rank 1
Craig Ritchie
asked on 12 Jun 2012, 03:37 AM
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.
5 Answers, 1 is accepted
0
Hi,
Didie
the Telerik team
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 >>
0
Craig Ritchie
Top achievements
Rank 1
answered on 13 Jun 2012, 01:44 AM
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.
<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.
0
Hello Craig,
Maya
the Telerik team
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.
Maya
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Bruno
Top achievements
Rank 1
answered on 26 Jan 2017, 01:29 PM
Hello,
Do you have any response about this topic ?
0
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
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 you to write beautiful native mobile apps using a single shared C# codebase.