Hi,
I am using raddatetime pickers (Q3 2009) throughout my application and am stuggling a little to get the international date formats working correctly.
I have added datetimepicker to a page and removed all culture information, and also tried culture="(Default)", but when I change culture in the browser dates always appear in UK English format (dd/mm/yyyy).
I have tried adding the following code:
But dates still appear in UK format. If I change the line to cultureinfo.InvariantCulture then they do appear in mm/dd/yyyy format, but do this even if the culture is set to UK.
I have also tried using a RadInputManager but cannot find how to set this programatically to use the culture information.
I am assuming there must be some fairly simple method I am missing here and any guidance would be greatly appreciated.
David Penny
I am using raddatetime pickers (Q3 2009) throughout my application and am stuggling a little to get the international date formats working correctly.
I have added datetimepicker to a page and removed all culture information, and also tried culture="(Default)", but when I change culture in the browser dates always appear in UK English format (dd/mm/yyyy).
I have tried adding the following code:
Dim cultureInfo As CultureInfo = cultureInfo.CurrentCulture |
dteLeaveStart.Culture = cultureInfo |
But dates still appear in UK format. If I change the line to cultureinfo.InvariantCulture then they do appear in mm/dd/yyyy format, but do this even if the culture is set to UK.
I have also tried using a RadInputManager but cannot find how to set this programatically to use the culture information.
I am assuming there must be some fairly simple method I am missing here and any guidance would be greatly appreciated.
David Penny