DatePicker with ShowUpDown set to true
- by mhar
I set the datepicker ShowUpDown to true. I notice that every time it reaches JANUARY of the following year it is throwing an error.
Year, Month, and Day parameters describe an un-representable DateTime.
reading on MSDN, it says that month should be between 1 and 12. So my guess is after the month of December, which is 12, when a user increase it again it will become 13, hence, throwing an error.
Is is possible to loop this? From December(12) to January(1) instead of increasing it to 13.