Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding to Date with Null allowed
Message
From
07/06/2006 17:42:35
Jeff Corder
Ambit Technologies, LLC
Missouri, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Binding to Date with Null allowed
Miscellaneous
Thread ID:
01127709
Message ID:
01127709
Views:
71
I'm trying to allow the user to enter a date that may be null (i.e. no entry). The specific case is the termination date for an employee (I haven't installed the psychic module yet).

I tried the DateTimePicker, but when it appears it has a date (when it was added to the form) and I can't find any information on how to clear it. Changing it is no problem, but I can't figure out how to clear it.

My next guess was to use a MaskedEditBox, but it used the Date.ToString() method and got all sorts of interesting stuff.

I would really like to avoid hooking into the post-navigate to fill in a masked text box, then hook into the validate event and validate the data and store it into the proper column in the MM data object.

I think (hope) I'm missing something obvious.

Thanks,
Jeff
Next
Reply
Map
View

Click here to load this message in the networking platform