Exemple #1
0
 public GenericGridModel()
 {
     PagerModel = new PagerModel();
 }
 public ActionResult SortAndPage(PagerModel pager)
 {
     var model = GetModel(pager.SortBy, pager.SortAscending, pager.CurrentPageIndex, pager.PageSize);
     return PartialView(model);
 }
 public ActionResult PagerPartial(PagerModel model)
 {
     return View(model);
 }