I am using WebdateTimeEdit control in my web form, min and max dates are set for this control. When a date less than min date is entered, the date in the control is changed to min date; When a date larger than max date is entered, the date in the control is replaced with max date. Is there any way to set the date to null when invalid date is entered. Thanks.
I tried to use setValue() and setDate() in ValueChanged event, neither works. Please advice. Thanks
Hi Haijun,
To set the date to null when invalid date is entered, you can handle the WebDateTimeEdit1_InvalidValue event. I have put together a sample which demonstrates how to set the null value.
Please review the sample to see if this approach meets your needs.
Let me know if you have any questions with this matter.
NehaDeveloper Support EngineerInfragisticswww.infragistics.com/support