Copied to clipboard

Flag this post as spam?

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


  • Evan 3 posts 23 karma points
    Nov 03, 2011 @ 10:22
    Evan
    0

    How To Dynamic to get Node Property include "Default" property

    I try to get property by "GetProperty", but GetProperty just only can get custom properties, 

    even "PropertiesAsList" just can only get  custom properties

    how can I dynamic get property 

    ex

    var fieldname="Name"

    if(temp.HasProperty(fieldname))

    @temp.GetProperty(fieldname).value


     

  • Anthony pj 40 posts 63 karma points
    Nov 03, 2011 @ 11:51
    Anthony pj
    0

    If you want to fimilarize yourself with razor you could try reading

    http://umbraco.com/follow-us/blog-archive/2011/2/23/umbraco-47-razor-feature-walkthrough-–-part-1.aspx

     

  • Evan 3 posts 23 karma points
    Nov 03, 2011 @ 13:18
    Evan
    0

    sorry I  don't get it, i didn't see any thing about that, could u describe it more?

Please Sign in or register to post replies

Write your reply to:

Draft