Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DatePicker and Date Format
Message
From
17/12/2012 10:18:48
 
 
To
17/12/2012 09:50:27
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Miscellaneous
Thread ID:
01559889
Message ID:
01559892
Views:
40
>Hi,
>
>Using .Net 4.0 XAML and C#
>
>
><TextBox Grid.Column="3" Grid.RowSpan="1" Margin="0" Name="txtIssue" Text="{Binding cus_issue, StringFormat=d, Mode=Default}" HorizontalAlignment="Stretch" VerticalAlignment="Center" />
>
>If I have a date like 30th October 1998 it displays in the textbox like 10/30/1998 which is incorrect according to my culture settings. It should be 30/10/1998.
>
>I don't believe that my code sets any culture specific layout for dates, but I am using a framework (Mere Mortals .NET) so do not know everything about it.
>
>Can someone tell me what I should be looking for that controls this setting?

Apparently 'by design' :-{

One fix : http://www.nbdtech.com/Blog/archive/2009/02/22/wpf-data-binding-cheat-sheet-update-the-internationalization-fix.aspx
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform