Posted 15 years ago by UT
Version: 4.5.0480
Avatar
I am data binding a date time field in my xml document to the Value field of the DateTimePicker control. It all works fine, except when I try to clear the datetime.
It appears that clear sets DateTime to null and that causes conversion exception, and my xml field keeps an old value instead of being set to empty string.
Is there a way around this issue?
Thanks.

Comments (1)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi,

When you clear the value in the DateTimePicker is should just set it's value to null and then raise the InvalidText event. We have made some improvements to the DateTimePicker since 4.5.480, but I don't believe any of them would have altered this behavior.

You may try this with the latest version and see if you still get the same issue. If so, then please send over a small sample project to our support address and we'll take a look.


Actipro Software Support

The latest build of this product (v24.1.2) was released 14 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.