Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
WebDateTimeEdit problem with last day of month
posted

We use WebDateTimeEdit for users to enter dates in dd/MM/yyyy format (we're in the UK). We also set the MinimumNumberOfValidFields property to 2 as the majority of dates entered are for the current year. This works as expected in the majority of cases and the users like the fact that they only have to enter 30/6, for example, to input a date of 30/06/2010.

There is a problem however when this is used for entering the last day of the month for months that have 31 days. For example, if they enter 31/8, it gets changed to 01/08/2010 when they leave the field. Returning to the field and entering 31/8 again produces the correct result when they leave the field. The problem does not occur if the year is entered (e.g. 31/8/10)

Any suggestions on how to correct this without having to force the year to be entered?  We're currently on Infragistics version 8.3.20083.2039 for this application.