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
Hello our.
I need som help, i have a document type "Home" with property "footerGrid" which is a content grid. Then i have a partial view "footer.cshtml" in my master.cshtml (layout page) i have in my master.cshtml this: @Html.Partial("footer")
And in my _footer.cshtml i have:
What am i doing wrong?
Hi Chrstian,
grid is now the value of the property, but not the property it self. So I'd imagine it world work if you replace GetPropertyValue with GetProperty.
grid
GetPropertyValue
GetProperty
That worked!
Thanks.
is working on a reply...
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.
Continue discussion
Get property in partial view from home doctype.
Hello our.
I need som help, i have a document type "Home" with property "footerGrid" which is a content grid. Then i have a partial view "footer.cshtml" in my master.cshtml (layout page) i have in my master.cshtml this: @Html.Partial("footer")
And in my _footer.cshtml i have:
What am i doing wrong?
Hi Chrstian,
grid
is now the value of the property, but not the property it self. So I'd imagine it world work if you replaceGetPropertyValue
withGetProperty
.That worked!
Thanks.
is working on a reply...
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.