Copied to clipboard

Flag this post as spam?

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


  • Alex Skrypnyk 6175 posts 24176 karma points MVP 8x admin c-trib
    Jun 11, 2013 @ 18:53
    Alex Skrypnyk
    0

    Filter Articles Performance

    He everybody,

    I'm little confused by the simple task )) We have to create Filters on the category page, similar to the filters in uBlogsby(tags, category, author). How we could do that ? Best Way and Faster ? 

    Thanks,

    Alex

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Jun 13, 2013 @ 23:03
    Jeavon Leopold
    1

    Hi Alex,

    Seeing as you like how uBlogsy does what you need already have to taken a look at the source of uBlogsy to see if you could base what you need off it?

    You can get the full source for uBlogsy from here https://bitbucket.org/anthonydotnet/ublogsy/

    For example, take a look at "uBlogsy/Source/uBlogsy.Web/Views/Partials/uBlogsy/Landing/uBlogsyLandingListPosts.cshtml" in the Mvc branch.

    It is completly possible to wire up a very simple filtering system using just a querystring variable and a .Where method on a collection in a Razor script. If this is what you're looking for, please let me know if you are using a Razor Macro or a Mvc View and I'll see if I have a example.

    Thanks,

    Jeavon

Please Sign in or register to post replies

Write your reply to:

Draft