Hi,
I have a WHDG where I have set the DataFormatString property on one column.
DataFormatString="{0:dd/MM/yyyy HH:mm:ss}"
It seems that it results to dd/MM/yyyy, without the time part.(for your information, the dataset containing the data shows that all datetimes have their timeparts available.)
Now when I change the DataFormatString to:
DataFormatString="{0:dd/MM/yyyy HH:mm:ss.fff}"
Now the time part is available, but also showing the milliseconds which isn't really desired in my design.
I recently updated to version: 10.3.20103.2134.
Ciao.
Hello,
I have created a support case CAS-66815-6JZ2Z6 to investigate this issue further. I will look in this and update this support case with further details. In order to find updates or detail on this support case Log in and click “My Support Activity” from “My Account” pane on the upper right corner. Here is the link for log in:
<https://es.infragistics.com/Login.aspx?ReturnUrl=%2fMembership%2fDefault.aspx%3fpanel%3dDownloads&panel=Downloads>
Hope this helps.
Thanks,
Bhadresh
Thanks for taking the time.
Something like that outside the grid works perfect, using it alot and does not fail. As stated in the orginal post, I recently upgraded to the newer version. Before it was formatting correctly.
String.Format("{0:dd/MM/yyyy HH:mm:ss}", DateTime.Now())
The culture I am using: "es-ES"
Hi estanito,
Sorry for the delayed reponse, but it was crunch time to get 11.1 out the door. This seems really odd that you would say this is broken. We use standard string.Format if there is a DataFormatString. What happens if you try to format a string using your format outside of the grid? What culture are you running under?
regards,David Young
Really guys... no one of the Infragistics team is interested in this thread?
Can I get a status update?
Thanks.