问题描述:

I am using Kendo UI and I am trying to use the filter property in the grid with the following code

 @(Html.Kendo().Grid(Model)

.Name("TaskListGrid")

.Columns(columns =>

{

columns.Bound(p => p.Description);

columns.Bound(p => p.InstrumentType.DisplayName).Title("Instrument Type");

columns.Bound(p => p.CounterParty).Title("Counterparty");

columns.Bound(p => p.CommodityType);

columns.Bound(p => p.ContractDate).Format(Settings.Current.DatePattern);

columns.Bound(p => p.Price);

columns.Bound(p => p.Currency);

columns.Bound(p => p.Comment);

columns.Template(@<text>

@Html.ActionLink("View details", "Index", item.InstrumentType.DetailController(), new { Id = item.ContractId }, null)

</text>).Width(120);

})

.Filterable()

.Sortable()

When I execute this code in my localSTS the filtering works fine on ContractDate(DateTime without the time component). But when I deploy the same code without making any changes, In the deployed environment filtering doesn't work properly for the ContractDate, Could someone help me with this

相关阅读:
Top