A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Well, it's quite easy to just filter the collection with Linq:
PageDataCollection pages = this.GetPages();
var page = Request["page"].ToInt(1) - 1;
var pageSize = 10;
this.PagesRepeater.DataSource = pages.Skip(page * pageSize).Take(pageSize);
this.PagesRepeater.DataBind();
Hi!
I'm looking for a good/easy way to implement paging using a repeater... I know there's an easy way of doing this using the EPiServer PageList but I'm using some filtering and stuff in code behind which made me turn to a repeater instead. Any suggestions are welcome...