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 got these lines of code:
@{
var myNode = @Model.NodeById(1080)
}
@foreach(dynamic item in myNode.GetProperty("subfotos1").Value){some content}
@foreach(dynamic item in myNode.GetProperty("subfotos1").Value)
{
some content
Why can't I use 'getProperty'? I know I could just use 'myNode.subfotos1', but I need to use 'getProperty' for this.
What am I doing wrong?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to use 'getProperty' with 'Embedded Content'?
I got these lines of code:
var myNode = @Model.NodeById(1080)
Why can't I use 'getProperty'? I know I could just use 'myNode.subfotos1', but I need to use 'getProperty' for this.
What am I doing wrong?
is working on a reply...