Copied to clipboard

Flag this post as spam?

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


  • Johan Plesner Hamann 105 posts 199 karma points
    Jul 15, 2011 @ 19:14
    Johan Plesner Hamann
    0

    Razor Where?

    How would this work?

    my code is this in a foreach

    @roodNode.DescendantsOrSelf("arrangement").Where("kursusType == \"Kursus\"")Where("kursusType == \"Kursus\"")

    and this is what is in dokumentation

    @Model.Children.Where("menuType == \"Top Menu\ || menuType == \"Bottom Menu\"")

    /Johan

  • Johan Plesner Hamann 105 posts 199 karma points
    Jul 15, 2011 @ 19:18
    Johan Plesner Hamann
    0

    the extra Where  in the post was a mistake :)

    Edit: nevermind :)

Please Sign in or register to post replies

Write your reply to:

Draft