I have a WebDatePicker that has Nullable = true (so a date does not have to be picked). On form save, the Value field is never null, rather is has a datetime of 1/1/0001. If no date was selected, I need to store a null in the database, not a date in Year 1.
What would you recommend I use to determine if a date has actually been picked? Checking if the Text property is an empty string?
Thanks!
Hello ksmith36 ,
You can use NullText in order to distinguish the null values:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1?page=Infragistics4.Web.v11.1~Infragistics.Web.UI.EditorControls.WebTextEditor~NullText.html
Let me know if you have further questions.