So the Date Filter is not working.
I believe this is because my data has Time with it, I couldn't find any help on how to ignore the time part in the date filter.
<GridColumn Title="Date Visit" DisplayFormat="{0:D}" Field="DateOfVisit">
<Template>
<label class="gridLabel">Date Visit:</label>
@{
if ((context as Visit).DateOfVisit!= null)
{
@((context as Visit).DateOfVisit.Value.ToShortDateString())
}
}
</Template>
</GridColumn>
Hello again,
We have an open feature request for filtering the Grid by Date and Time. I have given your Vote for it and you can follow it to receive email notifications on status updates.
Regards,
Svetoslav Dimitrov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hello Shawn,
You are correct that the Time portion is causing the filters on the Grid to seem not working. The milliseconds and seconds are hard to be matched exactly. The DateTime object provides a way to extract only the Date portion by using DateTime.Date.
That being said, this behavior is not entirely connected to the way the Grid filters the DateTime object but can be experienced with the Enumerable.Where method and I am marking this as "Declined".
Regards,
Svetoslav Dimitrov
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.