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 5908 posts 22603 karma points MVP 4x 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 3008 posts 13221 karma points MVP 7x 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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies