This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
This is a very similar topic to the "Styling DropDownDatePicker" thread in March 2009. I specify custom format "MM/dd/yyyy hh:mm tt" to the DateTimePicker control. It mostly works except when the minute value is "00" where it is displayed as blank. So after searching through this forum, I downloaded the nightly WPFElement build 20090623. Same issue. Am I doing something wrong? Thanks in advance. |
|
|
I can't reproduce the "blank" behaviour in our test environment -- I know we used to have a bug with this but it should be fixed in the build you have downloaded. Could you provide us with a small project that reproduces the problem? You can attach a zip file via the Options tab here, or mail it if it contains sensitive info (please strip all binaries first). Also please let us know what your regional settings are i.e. what culture the application is running in. Thanks! |
|
|
Hi Ivan, Here's a copy of that project with everything stripped off. I never set the regional settings (ie: default -- "en-US"?). In the ZIP that I'm attaching, I set the DateTimePicker culture to "Invariant Language (Invariant Country)" to see if that fixes the problem (it didn't). Otherwise, I never specified culture. Thanks. |
|
|
Strange: I'm still not getting the same problem that you are. I've attached a screenshot. The only thing I can think of is that somehow your app is still using the old version of the DLL. Could you just verify for me that the compiler is definitely picking up the updated DLL -- maybe do an uninstall, check that the Elements bin directory has been removed, reinstall, then do a Solution > Clean and full rebuild? Sometimes Visual Studio can be a bit bad about picking up when a DLL has changed... |
|
|
Ivan, I apologize for sending you an a wild-goose chase. For whatever reason, I thought the WPF Element was the problem. So I only downloaded and installed the latest nightly build of the WPF Element. I didn't bother to install the nightly build for WPF PropertyGrid. Once I did (last night's build), everything works as expected. Thank you very much. |
|