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'm using Grid to render my content, and there was a useful feature Inherit with ancestors, just code like this :
@Model.Value("inheritTitle", fallback: Fallback.ToAncestors)
but when I try to use this feature with Grid, I have no idea, render my Grid like this:
How do I use this feature with Grid, anyone has idea?
Layout = "BasePage.cshtml";
@Html.GetFallbackGridHtml(Model, ContentPage.GetModelPropertyType(c => c.Body).Alias, "site")
thanks for your reply, but I need more information,
where I can find MyCode.Umbraco.Web.Extensions;, I tried Umbraco.Web.Extensions,But It's failed.
I can't get a function like GetFallbackGridHtml
would you please give more Information about the above two things?
I got this doc:
I want use this function in partial view, how to?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted