November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
This is not really how Episerver works. The concept of On-Page edit is that the editor needs to go to those specific blocks to edit them. Not edit them from another context of On-Page edit (for example from On-Page for another block or page)
I use a view model and one of the properties is a list of blocks
The block just has 2 simple string properties.
When i use following razor markup in my overview page I am not able to edit the properties of my block on the page.
Note that the property is not on the root of my Model, i loop over the list of blocks in my view:
@foreach (var element in Model.elements)
@foreach (var block in element.Blocks)
@Html.PropertyFor(m => block.Description)>/p>
So my question is: can you have onpage editing for block properties (if the block is not your current model)?