This question is locked. New answers and comments are not allowed.
After going through the tutorial http://demos.telerik.com/aspnet-mvc/grid/custombinding?theme=vista I could successfully manage to get data on the grid, which is filterable and sortable. However, after putting the filter there is no way that I can reset the record count and it is still using fake paging numbers.
There is no way I can get to know the count of the records after the filter, and if I try to make a call to the count() function, I get the following error on sorting.
The query results cannot be enumerated more than once.
Difference in my work and your work is that you are using straight the EF but in my case I am using stored procedure and that is the ideal case where someone might want to use custom binding.
Either you should change and implement the same in your tutorial or suggest us how to achieve.
There is no way I can get to know the count of the records after the filter, and if I try to make a call to the count() function, I get the following error on sorting.
The query results cannot be enumerated more than once.
Difference in my work and your work is that you are using straight the EF but in my case I am using stored procedure and that is the ideal case where someone might want to use custom binding.
Either you should change and implement the same in your tutorial or suggest us how to achieve.