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.
Unfortunately, activation email could not send to your email. Please try again.

DateTimeEdit Turning Off Timer Update

Thread ID:

Created:

Updated:

Platform:

Replies:

89623 Aug 31,2009 02:37 PM Sep 1,2009 02:30 PM WPF 1
loading
Tags: Tools
Tobias O''Leary
Asked On August 31, 2009 02:37 PM

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)

Prabhu P [Syncfusion]
Replied On September 1, 2009 02:30 PM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;