Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out 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...