Hi,
I have a Ultrawin Date Time editor on my form. By default the value should be empty. I validate the date using the datetime min. however the ultra win editor datetime min date is 1753 and does not let me change it. How i go about changing this value.
Using Infragistics v 8.2
Thanks
Renu
Hello Renu,
Could you please review the sample attached to this post and see if it meets your requirements.Please feel free to let me know if I misunderstood you or if you have any other questions.
Hello Boris,
Thanks for the sample. I could not run it as i don't have infragistics 11.
This is what i am trying to do
ultraDateTimeEditor1.MinDate = DateTime.MinValue
which is (1/1/0001). This the editor does not take.
So in my validation layers where i don't reference to this control, all i want to be able to do is check if the ultraDateTimeEditor1.DateTime == DateTime.MinValue and i would know, the user has not selected any date.
Also i am using Infragistics v8.2.
Many Thanks
Thanks Mike!
Hi Renu,
The UltraDateTimeEditor does not support dates less than the MinSupportedDateTime of the current culture.
CultureInfo.CurrentCulture.DateTimeFormat.Calendar.MinSupportedDateTime
This is the same limitation imposed by the inbox MonthCalendar control, which is what displays in the dropdown portion of the control.
If you need to support dates outside this range, I recommend using the UltraCalendarCombo control, instead. It does not use the inbox MonthCalendar, and so is not bound by the same limitations.