Umbraco examine peeps are you using xslt to display your search results and creating xslt pagination or some other method. I have dynamic query and hence am using .net usercontrol with repeater but was wondering what people are doing for pagination in similar situation. Ps using 4.5.1 under .net40.
.Skip will perform lazy loading in the Examine results (so you don't have performance problems), and Take uses yield return so it's not bad on performance.
Examine search results and pagination
Umbraco examine peeps are you using xslt to display your search results and creating xslt pagination or some other method. I have dynamic query and hence am using .net usercontrol with repeater but was wondering what people are doing for pagination in similar situation. Ps using 4.5.1 under .net40.
Regards
Ismail
Just use the standard Skip and Take methods.
.Skip will perform lazy loading in the Examine results (so you don't have performance problems), and Take uses yield return so it's not bad on performance.
I might go blog this now :P
high 5 you rock!
Here's the blog post: http://farmcode.org/post/2010/08/18/Paging-with-Examine.aspx
is working on a reply...