GridViewDataColumn have the value is 300,00.
Set Culture property to "fr-FR" of RadMaskedTextBox in XAML view.
On runtime, I click on that field to change to inline editing mode
=> RadMaskedTextBox display 300,00 --> correct
<telerik:GridViewDataColumn DataMemberBinding="{Binding MyValue,
Converter={StaticResource EmptyToZeroConverter}}">
<telerik:GridViewDataColumn.CellEditTemplate>
<DataTemplate>
<telerik:RadMaskedTextBox Value="{Binding MyValue,
Converter={StaticResource EmptyToZeroConverter}, Mode=TwoWay}"
Mask="n" MaskType="Numeric"
Culture="fr-FR"
/>
</DataTemplate>
</telerik:GridViewDataColumn.CellEditTemplate>
</telerik:GridViewDataColumn>
But,
when set binding to Culture property of RadMaskedTextBox in XAML view.
On runtime, I click on that field to change to inline editing mode
=> RadMaskedTextBox display 30 000,00 --> incorrect
<
telerik:GridViewDataColumn DataMemberBinding="{Binding MyValue,
Converter={StaticResource EmptyToZeroConverter}}">
<telerik:GridViewDataColumn.CellEditTemplate>
<DataTemplate>
<telerik:RadMaskedTextBox Value="{Binding MyValue,
Converter={StaticResource EmptyToZeroConverter}, Mode=TwoWay}"
Mask="n" MaskType="Numeric"
Culture="{Binding DataContext.SelectedCurrencyCulture,
RelativeSource={RelativeSource AncestorType=telerik:RadWindow}}"
/>
</DataTemplate>
</telerik:GridViewDataColumn.CellEditTemplate>
</telerik:GridViewDataColumn>
When I use RadMaskedTextBox outside GridView and set binding to Culture, RadMaskedTextBox work correct.
<telerik:RadMaskedTextBox Value="{Binding MyValue,
Converter={StaticResource EmptyToZeroConverter}, Mode=TwoWay}"
Mask="n" MaskType="Numeric"
Culture="{Binding DataContext.SelectedCurrencyCulture,
RelativeSource={RelativeSource AncestorType=telerik:RadWindow}}"
/>
Admin please help me to resolve this problem ASAP. I really need it...
Thanks you so much,
Sha Daw.