Mar 06, 2013, 12:33 PM
Datefield issue on Date/Month
Hi,
I've searched the forums for the solution to my problem, and tried for a some of the approaches, but i cant get Datefield working as i want.
I've got a datefield with Format property set to: "dd/MM/yyyy".
I noticed the control automatically puts the "/" when u add the date without it (ex. "01111900" - ddMMyyyy). Also noticed that when it
automatically adds the "/" he switch the month and day values. It is shown "11/01/1900" on the control. However, if the user type the "/" on the datefield, the controls shows correctly (on the example above, it allows and shows "01/11/1900")
Also, when i enter a valid date on the format (d-M-y), ex. 22/10/2000, it shows me error message of invalid date (the date should have d-M-y format).
I really need to disable this month/day switch. I've tried some localization configuration and it still keep changing day/month values.
Can any of you help me with this issue?
Thanks in advance
I've searched the forums for the solution to my problem, and tried for a some of the approaches, but i cant get Datefield working as i want.
I've got a datefield with Format property set to: "dd/MM/yyyy".
I noticed the control automatically puts the "/" when u add the date without it (ex. "01111900" - ddMMyyyy). Also noticed that when it
automatically adds the "/" he switch the month and day values. It is shown "11/01/1900" on the control. However, if the user type the "/" on the datefield, the controls shows correctly (on the example above, it allows and shows "01/11/1900")
Also, when i enter a valid date on the format (d-M-y), ex. 22/10/2000, it shows me error message of invalid date (the date should have d-M-y format).
I really need to disable this month/day switch. I've tried some localization configuration and it still keep changing day/month values.
Can any of you help me with this issue?
Thanks in advance
Last edited by Felipe Torres; Mar 06, 2013 at 12:49 PM.