OK this one may be a little harder to explain. I have searched and seen a few posts on datetime handling, but I don't think any pertain.
If I have an infragistics datetime control bound to a datetime property on an entity, how do I clear the infragistics box and have it set the value to a null in the db? Right now, when the boxs is cleared, it tries to send a dbnull/nothing value back to the datetime property which it can't do since the datetime doesn't allow a null. The result is that the end user can't leave the box until he types a date.
If I change the box to return a datetime.minvalue it works fine at the ui level, but when the entity tries to save itself, since the field changes from a valid date to minvalue, llbl sends 1/1/1 to the db which blows up. Is there any better way to do this or make llbl send a null when it sees the minvalue?
Thanks!