We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

DateTimeEdit Turning Off Timer Update

Hey,

The built-in DateTimeEdit seems to have a Timer executing every second to update the Underlying DateTime object to a new date.

So if I set the DateTimeEdit field DateTime to DateTime.MaxValue
The timer then adds a second to that and throws and exception.

I'm not interested in the Time just the Date. Wish there was an option so that time wouldn't be automatically updated with the clock tick. Disabling the Watch does nothing.

Going to use the WPF-Toolkit DatePicker instead. Just figured you should know about this annoyance.

Portion of the StackTrace.
at System.DateTime.op_Addition(DateTime d, TimeSpan t)at Syncfusion.Windows.Shared.Clock.UpdateDateTime()
at Syncfusion.Windows.Shared.Clock.Timer_Tick(Object sender, EventArgs e)

1 Reply

PP Prabhu P Syncfusion Team September 1, 2009 06:30 PM UTC

Hi Tobias,

Thank you for your interest in Syncfusion products.

We have created a simple sample and tested this issue. We are able to see the issue when we set MaxDate of DateTime. We have filed a bug report about this issue. We will update you as soon as this issue gets fixed.

Thanks for your patience.

Regards,
Prabu

Loader.
Live Chat Icon For mobile
Up arrow icon