Hi All,
The list of elements shown in a listview are not getting paged depending on the no. entered in the code in cshtml.
For example :
The list of elements shown in a listview are not getting paged depending on the no. entered in the code in cshtml.
For example :
@(Html.Kendo().ListView<Kendo.Mvc.Examples.Models.ProductViewModel>(Model)
.Name("listView")
.TagName("div")
.ClientTemplateId("template")
.DataSource(dataSource => {
dataSource.Read(read => read.Action("Products_Read", "ListView"));
dataSource.PageSize(12);
})
.Pageable()
)
Though we mention 12 in the pagesize, I am getting all my records to the view. Please help how to show the no. of
records as per our choice.
Regards,
Rohit