It looks like I can set the MinDate and MaxDate of UltraDateTimeEditor. It will validate the value being assigned to it programmatically using the range; however, the editor and the dropdown are still acting using the default behavior.
I set the MinDate to 1/1/1950 and MaxDate to 12/31/2049. The control still only lets me type 12/31/29 and the dropdown only goes up to 12/31/2029. Is this expected?
Version 11.2.
EDIT: Somehow the MaskInput of mm/dd/yy is affecting the behavior. Without the MaskInput, the control behaves as expected.
Hello,
Thank you for the feedback. Please do not hesitate to ask if something comes up.
I'm fine at the moment. We are testing out the Calendar.TwoDigitMaxYear property of the main application thread.
Hello jquerijero,
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
Hi,
I don't think there is any way to get to the MonthCalendar control on the dropdown. Seems like the TwoDigitYearMax is a good way to go.
You could also try using UltraCalendarCombo instead of UltraDateTimePicker. It's not masked, though, so it might not suit your needs.
Is there a way to get to the calendar control of UltraDateTimeEditor? If not, is there an alternative control so we can display 2-digit year and be able to use century 1950 to 2049.
EDIT: We are thinking of just using the TwoDigitYearMax property of the Calender of the current Thread static class to override the OS century setting in our application. This seems to let the text editor and calendar dropdown to go beyond 2029 even when the year mask is only 2 digits.