Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
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...