Hello All,
I'm having a problem recently with textbox showing times and a validator validating them.
What's happening is that the .NET 2 version of the System.Web.Extensions library has the ShortTimePattern for Italian set as "H.mm" but the TimeSeparator set as ":" (I got the values looking at the page HTML and seeing the __cultureinfo var being declared).
In Windows 7 this happens to be wrong (they changed the time to use ":" instead of "." in Italy), so the time appears in the box as, for example, 04.12 but of course the validator flags this as invalid, probably because it's expecting 04:12.
Is there a way out of this? It is fixed in .NET4 but upgrading can't be done now. I tried changing the TimeSeparator and the ShortTimePattern in the CurrentCulture but apparently this is not possible. If I try to force a particulare pattern of course the textbox will be blank (because of the masked editor extender).
Many thanks to whoever can help!