Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
Does it say it can't find a renderer for the property? If I recall correctly, the correct path to the ImageBlock partial should be "Views/Shared/ImageBlock.cshtml", unless you are pushing the block through a controller.
Hi, Tahir,
I have not placed my ImageBlock (that I am using as local block and rendering with PropertyFor) inside Views/Shared/ImageBlock.cshtml.
Instead, I have placed it inside Views/Shared/DisplayTemplates/ImageBlock.cshtml
i'm facing a similar dilema to Tahir, I have tried putting into DisplayTemplates although still get the message their is no render for this block.
For now I am using seperate controllers although dont think this is the tidiest thing to do.
I have a custom block with two properties - an image url and an alternative text
I have created a partial view in shared directory /shared/ImageBlock/index.cshtml as
So I am hoping when I call something like
My partial view should get called, but the partial view never gets called.
- TestProperty is a property of type ImageBlock
Can any body please help me