Silverlight (RIA Services) spontaneous culture changing
        Posted  
        
            by Marc Wittke
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Marc Wittke
        
        
        
        Published on 2010-06-11T07:11:00Z
        Indexed on 
            2010/06/11
            7:12 UTC
        
        
        Read the original article
        Hit count: 371
        
My RIA enabled Silverlight Application is setting the thread culture in the App constructor (this is absolutley okay since it is an intranet application and will never ever be used by someone who is not german):
public App() {
    InitializeComponent();
    Thread.CurrentThread.CurrentCulture = new CultureInfo("de-DE");
}
It does what it should, the DataForms are displaying datetime values in german notation. BUT: it is spontaneously changing to en-US notation when navigating between items in the data source that is bound to the DataForm. Why?
© Stack Overflow or respective owner