This question is locked. New answers and comments are not allowed.
How do I compare dates in a bound column's ClientTemplate?
I tried the following, but neither seem to work:
My only workaround was to pass the RequestedDueDate to a javascript function which then compared the dates.
I tried the following, but neither seem to work:
.ClientTemplate("<# if (RequestedDueDate>Date()){#> yes <#}#>") .ClientTemplate("<# if (RequestedDueDate>'" + DateTime.Today.ToShortDateString() + "'){#> yes <#}#>")My only workaround was to pass the RequestedDueDate to a javascript function which then compared the dates.