Copied to clipboard

Flag this post as spam?

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


  • Paria Shiri 1 post 21 karma points
    17 days ago
    Paria Shiri
    0

    can't get block list by alias GetBlockListHtml

    I made a block list in my backOffice and want to render in in master page, but I can't get it

    @Html.GetBlockListHtml(Model.Children(x => x.Name == "Menu").FirstOrDefault(), "MenuBlock")
    

    enter image description here

    Could someone help me with how to access it? the menu on my home page enter image description here

    I have this error No property type found with alias MenuBlock

Please Sign in or register to post replies

Write your reply to:

Draft