I'm using telerik's MVC grid control in one of my project, my code looks something like this
@(Html.Telerik().Grid(Model).DataBinding(dataBinding => dataBinding.Ajax()
.Name("Grid")
.Columns(columns =>
{
columns.Bound(o => o.OrderID).Width(100);
columns.Bound(o => o.ContactName).Width(200);
columns.Bound(o => o.ShipAddress);
columns.Bound(o => o.OrderDate).Format("{0:MM/dd/yyyy}").Width(120);
})
.Scrollable(scrolling => scrolling.Enabled((bool)ViewData["scrolling"]))
.Sortable(sorting => sorting.Enabled((bool)ViewData["sorting"]))
.Pageable(paging => paging.Enabled((bool)ViewData["paging"]))
.Filterable(filtering => filtering.Filters(filters => filters.Add(o => o.RoleId)))
)
The problem here is that when I click the clear filter button on the grid's column, it doesn't work, as the filter data is always posted back to the server(even on clear filter) and after clearing the filter i guess the filter is reapplied. Is this a bug in telerik control or am I doing anything wrong, are there any workaround's for this issue