Maybe anybody can help me out! I am confused.
I am failing to localize a date column in a grid.
The column is bound the following way in .csthml file:
"columns.Bound(o => o.IssueDate).Title(Strings.IssueDate).Format("{0:d}");"
- Session["culture"] is "de-DE"
-.Thread.CurrentCulture/CurrentUICulture is de-DE
But the date ist always displayed in british format. With the old asp.net MVC controls this works fine!
I am using asp.net mvc 4.
What am I doing wrong?
brgds
Malcolm Howlett
I am failing to localize a date column in a grid.
The column is bound the following way in .csthml file:
"columns.Bound(o => o.IssueDate).Title(Strings.IssueDate).Format("{0:d}");"
- Session["culture"] is "de-DE"
-.Thread.CurrentCulture/CurrentUICulture is de-DE
But the date ist always displayed in british format. With the old asp.net MVC controls this works fine!
I am using asp.net mvc 4.
What am I doing wrong?
brgds
Malcolm Howlett