Copied to clipboard

Flag this post as spam?

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


  • Bjarne Fyrstenborg 1182 posts 3441 karma points MVP 4x c-trib
    Apr 28, 2012 @ 14:01
    Bjarne Fyrstenborg
    0

    Get property of specific node

    Hi..

    I have done this to get the value of a specific node, but I would like to get it from the property alias and not despending on the node id.

    @{
        var Node = @Model.NodeById(1572);
        @Node.Location;
     }

    Is there a way I can access the property through the structure starting from root?

    Bjarne

  • 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