Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Aug 17, 2010 @ 16:59
    Ismail Mayat
    0

    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

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Aug 18, 2010 @ 10:41
    Aaron Powell
    0

    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

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Aug 18, 2010 @ 10:53
    Ismail Mayat
    0

    high 5 you rock!

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Aug 18, 2010 @ 11:13
Please Sign in or register to post replies

Write your reply to:

Draft