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 have a Nested Content property on my node called content. For some reason I don't get anything when I use item.whatever inside a foreach (var item in content) loop
https://gist.github.com/sebastiandammark/dbd9f6c8a03bc4e3e27b
I guess I need to do something about item before I can access the properties
Hi Sebastian,
Try to see this https://github.com/leekelleher/umbraco-nested-content/blob/develop/docs/assets/pdf/Nested-Content--Developers-Guide-v1.0.pdf
On page 10 you have a example on how to accessing Nested Content properties in Razor
Hope this helps,
/Dennis
Of course, the documentation :) Thanks.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Accessing Nested Content properties in Razor
I have a Nested Content property on my node called content. For some reason I don't get anything when I use item.whatever inside a foreach (var item in content) loop
https://gist.github.com/sebastiandammark/dbd9f6c8a03bc4e3e27b
I guess I need to do something about item before I can access the properties
Hi Sebastian,
Try to see this https://github.com/leekelleher/umbraco-nested-content/blob/develop/docs/assets/pdf/Nested-Content--Developers-Guide-v1.0.pdf
On page 10 you have a example on how to accessing Nested Content properties in Razor
Hope this helps,
/Dennis
Of course, the documentation :) Thanks.
is working on a reply...