This is a migrated thread and some comments may be shown as answers.

Problem with filtering and culture

5 Answers 29 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Exo
Top achievements
Rank 1
Exo asked on 23 May 2011, 04:30 PM
Hello everyone.

I have a problem with the filtering box on radgridview.
I have a table containing values in euro. However, when I filter my data, some values are in dollars and others are in euros.

Have you an explanation or a solution to propose?

Thank you.

5 Answers, 1 is accepted

Sort by
0
Exo
Top achievements
Rank 1
answered on 25 May 2011, 10:55 AM
No one can help me ?
Please.

Thank you.
0
Rossen Hristov
Telerik team
answered on 25 May 2011, 12:30 PM
Hi,

We have never seen anything similar before.

What happens if you display your data in a normal ListBox or in the stock DataGrid? Are the results different?

Can you send us a sample project that demonstrates this behaviour and tell us the exact steps that we need to make in order to reproduce this? 

Thanks in advance.

Kind regards,
Ross
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
0
Exo
Top achievements
Rank 1
answered on 19 Jul 2011, 02:50 PM
Hello,
I create a new projet with RIA Services.

This is my code.

Xaml
<UserControl xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  x:Class="SilverlightApplication1.MainPage"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
  
    <Grid x:Name="LayoutRoot" Background="White">
        <telerik:RadGridView x:Name="RaGrid_Tab">
            <telerik:RadGridView.Columns>
                <telerik:GridViewColumn Header="Test">
                    <telerik:GridViewColumn.CellTemplate>
                        <DataTemplate>                       
                            <Grid>
                                <TextBlock Text="{Binding StringFormat=\{0:c\}}" />
                            </Grid>
                        </DataTemplate>
                    </telerik:GridViewColumn.CellTemplate>
                </telerik:GridViewColumn>
            </telerik:RadGridView.Columns>           
              
        </telerik:RadGridView>
    </Grid>
</UserControl>

Code behind
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.ObjectModel;
  
namespace SilverlightApplication1
{
    public partial class MainPage : UserControl
    {
        public MainPage()
        {
            InitializeComponent();  
            RaGrid_Tab.ItemsSource = new ObservableCollection<Int32>() { 254, 21, 21, 6, 5 };                          
        }
    }
}


When interface is loading we can see a bug. (image attached).
We have the dollar and euro symbol that appears.

Have you an idea ?

Thanks.


0
Yordanka
Telerik team
answered on 22 Jul 2011, 09:18 AM
Hi Exopartners Exopartners,

The problem is resolved in the latest official version - Q2 2011.
 
Kind regards,
Yordanka
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Exo
Top achievements
Rank 1
answered on 22 Jul 2011, 10:44 AM
I updated components and it works.

The problem is solved.

Thanks
Tags
GridView
Asked by
Exo
Top achievements
Rank 1
Answers by
Exo
Top achievements
Rank 1
Rossen Hristov
Telerik team
Yordanka
Telerik team
Share this question
or