Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
330
XamDateTimeEditor without the DateTime
posted

Hello,

We currently utilize the XamDateTimeEditor and it works great so far, except we have a rather odd requirement. The requirement is that when the screen is in what we call search mode, then the user can enter in whatever they want into our controls. For example, the user could enter in ">02/01/2009" into the date field to search for records that have a date greater than 02/01/2009.  I had hoped that I could simply change the ValueType at runtime via a converter from DateTime to string (depending on screen mode), but this does not resolve the issue because the control will still try to internally set the DateValue to a DateTime via the SyncValuePropertiesOverride method. 

Does anyone have any suggestions or workarounds to get this control to behave how we would like it? So far, it looks like my only option is to write our own control.

Thanks in advanced,

-Mike

Parents Reply Children
No Data