Copied to clipboard

Flag this post as spam?

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


  • Linden Koppejan 15 posts 165 karma points
    Feb 09, 2023 @ 15:48
    Linden Koppejan
    0

    Umbraco Block Grid - Get Parent of BlockGridArea

    Hello there,

    I'm using the Umbraco Block Grid Editor for the first time.

    Now im in the "area.cshtml" and the Model is BlockGridArea. Sadly there is no function to get the Parent of the Model like for IPublishedContent.

    I need the Parent to determend if I render the blocks in a grid or a different view.

    Does anyone know if that's possible?

    Thanks for letting me know,

    Linden Koppejan

  • Huw Reddick 1929 posts 6697 karma points MVP 2x c-trib
    Feb 09, 2023 @ 16:03
    Huw Reddick
    0

    Hi Linden,

    Not sure exactly what you are trying to accomplish, surely the whole point of using the blockgrid is to render something in a grid.

Please Sign in or register to post replies

Write your reply to:

Draft