Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Commented Unassigned: PropertyGrid Default DateTimeEditor ignores all inputs. [19789]

$
0
0
The default DateTime editor seems to be completely non-functional in the latest release. Mouse wheel scrolls, cursor keys, manual entry are all ignored and the value returned/stored/displayed is always the current time the control was instantiated.

Tested in my own application, and by downloading the Live Explorer Click Once application and tested there with identical results.
Comments: ** Comment from web user: BoucherS **

As a workaround :
in DateTimeUpDown.TryParseDateTime method
you can replace
if( !isValid && ( this.Format == DateTimeFormat.Custom ) )
with
if( !isValid )

This way, the method "DateTime.TryParseExact" will be used to parse the DateTime that failed the "DateTimeParser.TryParse" method.

But validating a date like "June 32nd 2013" will reset the date to "January 1st 0001". If it is not a problem for you, you can try this.


Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>