This question is locked. New answers and comments are not allowed.
I've got a problem with a grid that will not display the correct number of records when the grid is sorted.
Here's the View code:
So I don't see anything out of the ordinary, pretty basic grid.
The results view shows the same 8 records, but when the grid is sorted(asc or desc) it only displays 2 on the last page, so 7 records total. ?????
Any help would be appreciated.
Thanks,
-Sid.
Here's the View code:
@(Html.Telerik().Grid(Model) .Name("grdSearch") .Columns(columns => { columns.Bound(c => c.serial_num) .Title("Serial#"); columns.Bound(c => c.cust_cont_desc) .Title("Description"); columns.Bound(c => c.rcpt_date).Format("{0:MM/dd/yyyy}") .Title("Recv'd"); columns.Bound(c => c.status) .Title("Stat"); columns.Command(commands => commands .Custom("Use") .Text("Use") .DataRouteValues(route => route.Add(c => c.id).RouteKey("id")) .Action("Use","CustContainer")) .Width(80); }) .Sortable(sorting => sorting.OrderBy(sortOrder => sortOrder.Add(c => c.rcpt_date))) .Pageable(page => page.PageSize(5)) )So I don't see anything out of the ordinary, pretty basic grid.
The results view shows the same 8 records, but when the grid is sorted(asc or desc) it only displays 2 on the last page, so 7 records total. ?????
Any help would be appreciated.
Thanks,
-Sid.