I have a ListView with a PageSize of 1.as below:-
@(Html.Kendo().ListView<ResultViewModel>()
.Name("detailListView")
.TagName("div")
.DataSource(dataSource =>
{
dataSource.Read(read => read.Action("GetDetails", "Result", new { id = ViewBag.TeamId }));
dataSource.PageSize(1);
})
.ClientTemplateId("detail-template")
.Pageable(pager => pager
.Numeric(true)
.PreviousNext(true)
.Info(true)
)
)
How do I set the initial page number to a number other than 1? The datasource JS has a 'page' option but this wrapper doesn't seem to have one.
@(Html.Kendo().ListView<ResultViewModel>()
.Name("detailListView")
.TagName("div")
.DataSource(dataSource =>
{
dataSource.Read(read => read.Action("GetDetails", "Result", new { id = ViewBag.TeamId }));
dataSource.PageSize(1);
})
.ClientTemplateId("detail-template")
.Pageable(pager => pager
.Numeric(true)
.PreviousNext(true)
.Info(true)
)
)
How do I set the initial page number to a number other than 1? The datasource JS has a 'page' option but this wrapper doesn't seem to have one.