Groups | Blog | Home
all groups > dotnet general > june 2005 >

dotnet general : Does CompareValidator work for the date in dd-mmm-yyyy format?


CyberLotus
6/9/2005 10:56:02 PM
Hi,

I wish to validate the date a user has entered against the format
dd-mmm-yyyy
using the CompareValidator, but it does not work.

Does anybody have a simple solution please?

Many thanks in advance.

Regards,
JitGanguly
6/16/2005 1:03:06 PM
What is the locale for that format ? Try putting it in web.config

<globalization
requestEncoding="utf-8"
responseEncoding="utf-8"
culture="en-US"
uiCulture="en-US" />

[quoted text, click to view]
JitGanguly
6/16/2005 1:04:05 PM
So I Guess try culture="en-GB"

[quoted text, click to view]
AddThis Social Bookmark Button