This question is locked. New answers and comments are not allowed.
I have the following:
The grid is Ajax().OperationMode(GridOperationMode.Client)
The initial rendering of the grid works fine (and so the call to Template() is working). When I page forward and back the dates end up looking like:
Date(-62135578800000)/
DateAdmitted is a regular DateTime object.
Can someone tell me what is going on and how to fix it?
columns.Bound(model => model.DateAdmitted) .Template(o => o.DateAdmitted.ToString("d")) .ClientTemplate( "<#= DateAdmitted #>" );
The grid is Ajax().OperationMode(GridOperationMode.Client)
The initial rendering of the grid works fine (and so the call to Template() is working). When I page forward and back the dates end up looking like:
Date(-62135578800000)/
DateAdmitted is a regular DateTime object.
Can someone tell me what is going on and how to fix it?