
Matthias Bibo
Top achievements
Rank 1
Matthias Bibo
asked on 29 Nov 2012, 03:14 PM
Hi,
I am having some problems with the RadGridView with Row Virtualizing in Silverlight.
The Date Column seems to randomly Format the Date with German or American formatting.
See the example:
If I scroll vertically, the format keeps changing. If I scroll horizontally everything is fine.
I have both Row Virtualizing and Column Virtualizing active.
I have tried to set the Culture direclty on the GridView, but it did not solve the problem.
Am I missing something here?
Best Regards,
Matthias Bibo
3 Answers, 1 is accepted
0
Hi Matthias,
Didie
the Telerik team
So far we are not aware of such an issue.
May I ask you to try setting a Language for the GridView? Do you use our most recent version - Q3 2012?
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0

Matthias Bibo
Top achievements
Rank 1
answered on 29 Nov 2012, 04:47 PM
Hi Didie,
I have tried with the new Telerik Controls (Q3 2012) and the previous version.
The Grid is Declared as follows:
<
bdlControls:BDLGridView
Grid.Row
=
"2"
Grid.Column
=
"1"
Grid.RowSpan
=
"2"
ValidatesOnDataErrors
=
"InEditMode"
ItemsSource
=
"{Binding Items, Mode=TwoWay}"
SelectedItem
=
"{Binding CurrentItem, Mode=TwoWay}"
CanUserFreezeColumns
=
"False"
AutoGenerateColumns
=
"False"
HorizontalContentAlignment
=
"Stretch"
VerticalContentAlignment
=
"Stretch"
EnableRowVirtualization
=
"True"
EnableColumnVirtualization
=
"True"
ShowGroupPanel
=
"False"
SelectionMode
=
"Single"
CanUserDeleteRows
=
"False"
CanUserInsertRows
=
"False"
Language
=
"de-DE"
>
<
bdlControls:BDLGridView.Columns
>
<
bdlControls:BDLGridViewImageColumn
Header
=
""
DataMemberBinding
=
"{Binding IconPath}"
IsReadOnly
=
"True"
Width
=
"Auto"
/>
<
bdlControls:BDLGridViewDataColumn
Header
=
"Id"
DataMemberBinding
=
"{Binding Id}"
IsReadOnly
=
"True"
Width
=
"Auto"
>
<
bdlControls:BDLGridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding Id}"
Foreground
=
"{Binding Converter={StaticResource TemplateConverter}}"
/>
</
DataTemplate
>
</
bdlControls:BDLGridViewDataColumn.CellTemplate
>
</
bdlControls:BDLGridViewDataColumn
>
<
bdlControls:BDLGridViewDataColumn
Header
=
"Name"
DataMemberBinding
=
"{Binding Name, Mode=TwoWay}"
IsReadOnly
=
"True"
Width
=
"Auto"
>
<
bdlControls:BDLGridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding Name}"
Foreground
=
"{Binding Converter={StaticResource TemplateConverter}}"
/>
</
DataTemplate
>
</
bdlControls:BDLGridViewDataColumn.CellTemplate
>
</
bdlControls:BDLGridViewDataColumn
>
<
bdlControls:BDLGridViewDataColumn
Header
=
"Beschreibung"
DataMemberBinding
=
"{Binding Description}"
MinWidth
=
"40"
Width
=
"*"
>
<
bdlControls:BDLGridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding Description}"
Foreground
=
"{Binding Converter={StaticResource TemplateConverter}}"
/>
</
DataTemplate
>
</
bdlControls:BDLGridViewDataColumn.CellTemplate
>
</
bdlControls:BDLGridViewDataColumn
>
<
bdlControls:BDLGridViewDataColumn
Header
=
"Angelegt am"
DataMemberBinding
=
"{Binding InsertDate}"
IsReadOnly
=
"True"
Width
=
"Auto"
>
<
bdlControls:BDLGridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding InsertDate}"
Foreground
=
"{Binding Converter={StaticResource TemplateConverter}}"
/>
</
DataTemplate
>
</
bdlControls:BDLGridViewDataColumn.CellTemplate
>
</
bdlControls:BDLGridViewDataColumn
>
<
bdlControls:BDLGridViewDataColumn
Header
=
"Angelegt von"
DataMemberBinding
=
"{Binding InsertUser}"
IsReadOnly
=
"True"
Width
=
"Auto"
>
<
bdlControls:BDLGridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding InsertUser}"
Foreground
=
"{Binding Converter={StaticResource TemplateConverter}}"
/>
</
DataTemplate
>
</
bdlControls:BDLGridViewDataColumn.CellTemplate
>
</
bdlControls:BDLGridViewDataColumn
>
<
bdlControls:BDLGridViewDataColumn
Header
=
"Geändert am"
DataMemberBinding
=
"{Binding UpdateDate}"
IsReadOnly
=
"True"
Width
=
"Auto"
>
<
bdlControls:BDLGridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding UpdateDate}"
Foreground
=
"{Binding Converter={StaticResource TemplateConverter}}"
/>
</
DataTemplate
>
</
bdlControls:BDLGridViewDataColumn.CellTemplate
>
</
bdlControls:BDLGridViewDataColumn
>
<
bdlControls:BDLGridViewDataColumn
Header
=
"Geändert von"
DataMemberBinding
=
"{Binding UpdateUser}"
IsReadOnly
=
"True"
Width
=
"Auto"
>
<
bdlControls:BDLGridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding UpdateUser}"
Foreground
=
"{Binding Converter={StaticResource TemplateConverter}}"
/>
</
DataTemplate
>
</
bdlControls:BDLGridViewDataColumn.CellTemplate
>
</
bdlControls:BDLGridViewDataColumn
>
</
bdlControls:BDLGridView.Columns
>
</
bdlControls:BDLGridView
>
I have tried setting the Language in Xaml (as in code example) and also in Code behind. I also tried setting the CurrenThread Culture.
Nothing seems to work.
Best Regards,
Matthias Bibo
0
Hello Matthias,
Maya
the Telerik team
Actually, we have such an issue logged in our system. You can vote for it here so that it gets with higher priority.
Please excuse us for the troubles.
Maya
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.