Hello,
I have a standard DateTimePicker control and I'd like to have a custom validator (server side) against it, something like this:
and on the server:
Now, the problem is that in this setup, args.value is looking like this: "2010-02-27-15-00-00" and this will not parse thru DateTime.TryParse (or at least I have not found a proper combination of culture and DateTimeStyles settings that will parse this string).
My question is - is there any way to modify value property of DateTimePicker so it will produce string that will parse thru DateTime.TryParse ?
Thanks,
Antonin