Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Pierre Bourgeois 2 posts 72 karma points
    Jun 04, 2024 @ 19:22
    Pierre Bourgeois
    0

    Bind Multiple Models on a RichTextBlockItem partial view

    In an Umbraco v13 projet, I have this RichTextBlockItem Partial view that works fine :

    @inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage<Umbraco.Cms.Core.Models.Blocks.RichTextBlockItem<MyBlock>> @using ContentModels = Umbraco.Cms.Web.Common.PublishedModels; <p>@Model.Content.BlocTitle</p>

    How can I access properties of another ModelView from this partial View ?

    Thank you

  • 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.

Please Sign in or register to post replies