Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Remote Custom Paging With DataGrid and DataTable
posted

I am trying to implement a DataGrid with Custom Remote Paging.

I can not pass the value of the RecordCountKey, or I do not Know how to do it. This is part of my code:

On the Controller:

[GridDataSourceAction]
[HttpGet]
public ActionResult SearchTransferences(int SizePage, int NumberPage)
{

DataTable dtable = ... here I do my stuff

return View("Index", dtable);

}

On my view i have;


@(Html.Infragistics()
.Grid<DataTable>()
.ID("Grid")

...

...

feature.Paging()
.PageSize(10).Type(OpType.Remote)
.RecordCountKey("Data.TotalRows")

Parents Reply Children
No Data