Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

GridView culture language on editmode

$
0
0
Hello,

Thank you for attaching a demo project in the support ticket.

As to losing number format in edit mode, I would suggest you to try defining CellEditTemplate like so:
<telerik:GridViewDataColumn  DataMemberBinding="{Binding Path=Value2}"DataFormatString="{}{0:N4}" Header="STRING FORMAT N4">
    <telerik:GridViewDataColumn.CellEditTemplate>
            <DataTemplate>
                    <TextBox Text="{Binding Value2, StringFormat=N4}" />
            </DataTemplate>
    </telerik:GridViewDataColumn.CellEditTemplate>
 </telerik:GridViewDataColumn>

As a side note, we noticed you have set both this.Language and 
myGrid.IsLocalizationLanguageRespected = false; 

Please keep in mind you should configure one or the other since those settings contradict with one another.

Regards,
Dimitrina
Telerik
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 Feedback Portal and vote to affect the priority of the items

Viewing all articles
Browse latest Browse all 94857

Trending Articles