My Model has a Datetime that comes as a null sometimes. This renders as 1/1/0001
I can't edit the Model.
Is there a way to put in a condition in the Client Temple so that nulls are not displayed, something like this??
I can't edit the Model.
Is there a way to put in a condition in the Client Temple so that nulls are not displayed, something like this??
@(Html.Kendo().Grid(Model.Items as IEnumerable<
XYZ
>)
.Name("KendoCrGrid")
.Columns(columns =>
{
columns.Bound(e => e.SignUpDate).ClientTemplate("#= <
condition
> ? kendo.toString(date, 'MM/dd/yyyy')#");