This question is locked. New answers and comments are not allowed.
Is it possible to do this ?
View
Html.Telerik().Grid(Model.listPerson)
.Name("aGrid")
.Pageable( paging =>
paging.PageSize(10) )
.DataBinding(dataBinding => dataBinding.Ajax().Select(
"FindPerson", "Person", new { searchvm= Model.SearchCriteriaVM }))
.Columns(columns =>
{
......
Controller
[GridAction]
public ActionResult _ListPerson(SearchVM searchvm )
{
List<Person> listp = ServicePerson.get(searchvm ).ToList();
return PartialView("_ListPerson", new GridModel<List<Person>>
{
Data = listp
});
}
If it's not possible ( and that what I think ) is there any others solutions to do it ?
Thanks,
Salmen