Rank: Advanced Member Groups: Member
 
 
Joined: 5/19/2010 Posts: 35 
	 | 
		   
	     
		    Hi,
  I've recently encountered a bug when using a DatePicker control with a pickerhint: When delete is pressed on a section of the picker, the whole cell's display will revert to the pickerhint. This is replicatable on the DatePicker example.
  I've also found a potentially related but harder to reproduce error: When attempting to clear a DatePicker's input, the DatePicker's value will be reported as "01/01/0001" instead of null. This seems to happen fairly infrequently, I haven't been able to find any clear pattern here.
		 
	 | 
	
		Rank: Administration Groups: Administration
 
 
Joined: 5/27/2007 Posts: 24,427 
	 | 
		   
	     
		    Hi,
  I believe both are normal. DatePicker represents a DateTime value, which is a value type. So it will never have a null value. We use DateTime.MinValue (01/01/0001) to represent an empty date. 
  PickerHint is displayed when the DatePicker does not have a valid value. Pressing delete key does exactly that.
  Thanks!
		 
	 |