Currency format not working since SP1

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    12 posts
    Member since:
    Oct 2011

    Posted 07 Feb 2013 Link to this post

    It renders correctly to start with until i sort the columns by clicking on the headers

    In the retail columns i get a Mix of $ (Dollars) and £ (Pounds)

    In the New Event of the page we set

      Public Sub New()
        Me.Language = XmlLanguage.GetLanguage(Thread.CurrentThread.CurrentCulture.Name)
      End Sub

    <telerik:GridViewDataColumn Width="*" SortMemberPath="RetailValue" >
                                                    <TextBlock Text="Retail Sales" />
                                                <Style TargetType="telerik:GridViewCell">
                                                    <Setter Property="ContentTemplate">
                                                                        <ColumnDefinition Width="80" />
                                                                        <ColumnDefinition />
                                                                    <TextBlock Text="{Binding RetailValue, StringFormat='{}{0:c}'}" HorizontalAlignment="Right" Margin="0 0 10 0" VerticalAlignment="Center" />
                                                                    <StackPanel Orientation="Vertical" Grid.Column="1">
                                                                        <telerik:RadDataBar x:Name="RetailBar" Value="{Binding RetailValue}" Maximum="{Binding Path=Text, ElementName=RetailMaxBarData}"  LabelVisibility="Collapsed" Height="18" Margin="0 0 3 0"  ToolTipService.ToolTip="{Binding RetailValue,StringFormat='{}{0:c}'}"  />
                                                                        <telerik:RadDataBar x:Name="RetailTargetBar" Value="{Binding KPIRetail}" Maximum="{Binding Path=Text, ElementName=RetailMaxBarData}"  LabelVisibility="Collapsed" Height="2" Margin="0 0 3 0"  ToolTipService.ToolTip="{Binding KPIRetail,StringFormat='{}{0:c}'}"  />

  2. Yordanka
    Yordanka avatar
    634 posts

    Posted 08 Feb 2013 Link to this post

    Hello Andy,

    The problem should be fixed in our latest internal build - version 2012.3.1404. Let us know if you find any problems with this build.
    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top