This question is locked. New answers and comments are not allowed.
Hi,
I'm using client-side grid.Filter() calls to filter grid. They did not work in current version Q2(2011.2.712) so I downloaded hotfix mentioned in this thread: http://www.telerik.com/community/forums/aspnet-mvc/grid/client-side-grid-filter-doesn-t-work-in-current-release.aspx. Now I'm using version 2011-2-715-hotfix.
Basic filtering works just fine:
But filterfunctions do not work at all. When using filterfunctions the code never reaches controller. The POST call goes to address: http://xxx/GetProjects?ProjectList-size=20
Controller:
Grid:
I'm using custom binding.
Is there a way to make this work?
I'm using client-side grid.Filter() calls to filter grid. They did not work in current version Q2(2011.2.712) so I downloaded hotfix mentioned in this thread: http://www.telerik.com/community/forums/aspnet-mvc/grid/client-side-grid-filter-doesn-t-work-in-current-release.aspx. Now I'm using version 2011-2-715-hotfix.
Basic filtering works just fine:
var grid = $("#ProjectList").data("tGrid");grid.filter("FriendlyId~eq~0");But filterfunctions do not work at all. When using filterfunctions the code never reaches controller. The POST call goes to address: http://xxx/GetProjects?ProjectList-size=20
var grid = $("#ProjectList").data("tGrid");grid.filter("startswith(Name, 'te')");Controller:
[GridAction(EnableCustomBinding = true)]public ActionResult GetProjects(GridCommand command)Grid:
@(Html.Telerik().Grid<ProjectListGridItemModel>() .Name("ProjectList") .Columns(columns => { columns.Bound(o => o.FriendlyId);
columns.Bound(o => o.Name);
})
.Pageable(paging => paging.Enabled(true).PageSize(20).Total(Total))
.Filterable()
.EnableCustomBinding(true) )I'm using custom binding.
Is there a way to make this work?