Welcome Guest Search | Active Topics | Sign In | Register

Pickerhint bug - easily replicatable Options
DTU
Posted: Sunday, August 15, 2010 9:32:10 PM
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.
eo_support
Posted: Monday, August 16, 2010 8:58:47 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.