an ASP.NET Open Source CMS & eCommerce platform
Search:
Last Post 3/4/2009 9:06:54 AM By lukezy. 5 replies.
6/30/2008 12:29:38 AM
dcoates
Posts: 5
Joined: 6/19/2008
Location:Somewhere out there
Date format invalid

Everytime I update a product it puts a date in the date field and then shuffles values around and says it's invalid when I click "save". I have to delete the date manually before updating in order to allow to save.. would it have something to do with my local date format?

 

D

6/30/2008 8:35:03 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Date format invalid

I guess your locale is not US. What's your local date format? Internally it's using MaskedEdit of Asp.net Ajax control toolkit. Maybe it's just a matter of extra attribute.

DotShoppingCart Staff
6/30/2008 10:37:59 AM
dcoates
Posts: 5
Joined: 6/19/2008
Location:Somewhere out there
Re: Date format invalid

Yeah, my locale is en-za (South Africa). Any idea what attribute I can add?

I wanted to look into that now and realized I need VS 2008 full edition. We still running 2005 at work, so cant't get 2008 to edit just yet.

 

D

6/30/2008 10:43:05 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Date format invalid

Check http://www.asp.net/AJAX/AjaxControlToolkit/Samples/MaskedEdit/MaskedEdit.aspx . I guess it's "CultureDateFormat - Culture override".

 

DotShoppingCart Staff
3/4/2009 8:00:18 AM
jaco
Posts: 2
Joined: 3/1/2009
Re: Date format invalid
I'm having the same problem. Where would I go about changing this option?
3/4/2009 9:06:54 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Date format invalid
V3 does support multi-language. V2 doesn't. What you have to do is manually fixing the culture related the controls. If you are asking for the MaskEdit control, there is a property "CultureDateFormat" which you can change.
DotShoppingCart Staff