Hi there,
In my WPF project I'm using two RESX files in order to keep both english and spanish languages, freely chosen for the user
When I assign my SQL view on ItemsSource I get twice the name of the headers (logically, I get each header from V_Clientes2 object and then get each header in Columns collection.. For example: Header="{Resx RadGridViewCustomers_Nombre}")
I do not know how can I fix that... it is not acceptable at all, 'cause the user see "Name" and "Nombre" at the same time instead to see just one of them:
XAML:
<telerik:RadGridView x:Name="dgvClientes" ItemsSource="{Binding V_Clientes2}" HorizontalAlignment="Left"
Margin="10,44,0,-45" VerticalAlignment="Top" Height="531"
Width="469" ColumnWidth="SizeToCells" PreviewMouseDoubleClick="dgvClientes_PreviewMouseDoubleClick" Grid.ColumnSpan="2" Grid.RowSpan="3">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn DataMemberBinding="{Binding Tipo}" Header="{Resx RadGridViewCustomers_Tipo}" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding Documento}" Header="{Resx RadGridViewCustomers_Doc}" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding Nombre}" Header="{Resx RadGridViewCustomers_Nombre}" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding Apellido1}" Header="{Resx RadGridViewCustomers_PrimerApellido}" />
</telerik:RadGridView.Columns>
Find attached one image where you can see this problem.
Thanks in advance for your time and advices,
In my WPF project I'm using two RESX files in order to keep both english and spanish languages, freely chosen for the user
When I assign my SQL view on ItemsSource I get twice the name of the headers (logically, I get each header from V_Clientes2 object and then get each header in Columns collection.. For example: Header="{Resx RadGridViewCustomers_Nombre}")
I do not know how can I fix that... it is not acceptable at all, 'cause the user see "Name" and "Nombre" at the same time instead to see just one of them:
XAML:
<telerik:RadGridView x:Name="dgvClientes" ItemsSource="{Binding V_Clientes2}" HorizontalAlignment="Left"
Margin="10,44,0,-45" VerticalAlignment="Top" Height="531"
Width="469" ColumnWidth="SizeToCells" PreviewMouseDoubleClick="dgvClientes_PreviewMouseDoubleClick" Grid.ColumnSpan="2" Grid.RowSpan="3">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn DataMemberBinding="{Binding Tipo}" Header="{Resx RadGridViewCustomers_Tipo}" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding Documento}" Header="{Resx RadGridViewCustomers_Doc}" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding Nombre}" Header="{Resx RadGridViewCustomers_Nombre}" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding Apellido1}" Header="{Resx RadGridViewCustomers_PrimerApellido}" />
</telerik:RadGridView.Columns>
Find attached one image where you can see this problem.
Thanks in advance for your time and advices,