Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
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
sorry I don't get it, i didn't see any thing about that, could u describe it more?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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
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
sorry I don't get it, i didn't see any thing about that, could u describe it more?
is working on a reply...