Hi,
I am trying to implement Grid Ajax but when I click on page 2 the grid is set to 1st page.
following is the view:
@(Html.Kendo().Grid(Model).Name("baseUserInfoGrid")
.Columns(columns => {
columns.Bound(m => m.User_Id);
columns.Bound(m => m.Name);
columns.Bound(m => m.Email);
}).Pageable().Groupable().Sortable()
.DataSource(a => {
a.Server().Read("Index", "Admin");
a.Ajax().Read("_Index", "Admin"); })
)
and Actions:
public ActionResult Index()
{
return View(GetBaseUserInfo());
}
[GridAction]
public ActionResult _Index()
{
return View(GetBaseUserInfo());
}
am I missing something?
Regards,
Yeou