I'm trying to bind a nullable date to a column like this:
<telerik:GridViewDataColumn DataMemberBinding="{Binding DueDate}" DataFormatString="{} {0:dd, MMM, yyyy}" Header="Due Date"
Where 'MyFavoriteDate' is a nullable date on my view model. When the date is null, the column displays "01/01/0001". I would expect the grid to display an empty value. How do you bind to nullable types?
<telerik:GridViewDataColumn DataMemberBinding="{Binding DueDate}" DataFormatString="{} {0:dd, MMM, yyyy}" Header="Due Date"
<telerik:GridViewDataColumn DataMemberBinding="{Binding MyFavoriteDate}" DataFormatString="{} {0:dd, MMM, yyyy}" Header="Le Date" IsReadOnly="True" DataType="{x:Type System:DateTime}"/>Where 'MyFavoriteDate' is a nullable date on my view model. When the date is null, the column displays "01/01/0001". I would expect the grid to display an empty value. How do you bind to nullable types?