Axle Munshine
commented about a tip to make the
.Text Calendar Control I posted some time ago, work in the French Canada or "fr-CA" language. As Axle says:
Here's the fix:
1) Add <%@import namespace="System.Globalization" %> in the declarations
2) In the TryParseDateTime() method add IFormatProvider culture = new CultureInfo("en-US", true); just before the "try {" code.
3) Change parsedDate = DateTime.Parse(dateString); for parsedDate = DateTime.Parse(dateString,culture); and it will work great!
posted @ Thursday, January 27, 2005 1:00 AM