Hi, Infragistics guys,
I have a silverlight application with several usercontrols using xamgrids for showing query results purposes. Queries get datetime data in SQLServer format (mm-dd-yyyy hh:mm:ss). Currently I need show datetime data columns in ISO format (yyyy-MM-ddTHH:mm:ss) in all xamgrids and I do not want use FormatString property of TextColumn on xamgrids (because are a lot !!!)... Is possible set up tha XamGrid to use the datetime format from the current cultureinfo object ?
Note : I am migrating my application to WPF (Ig SL XamGrid to Ig WPF XamGrid), because I wrote in this forum thread...
Thanks in advance,
Javier Carreño
From Bogota, Colombia
Hello Javier,
You can set a specific DateTimeFormat for the CultureInfo and then set this culture to the Thread.CurrentThread.CurrentCulture.
I’ve attached a solution with WPF and Silverlight projects for your reference.
Let me know if I may be of further assistance.