Try our conversational search powered by Generative AI!
AI OnAI Off
By using the TemplateDescriptor attribute, you'll be able to specify a tag for your controller.
[TemplateDescriptor(Tags = new[] { "SomeTag" })]
I want to render a block different deppending on what Tag that is set on the content area the block resides in.
The tag is set something like
<%= Html.PropertyFor(x => x.TestContentArea, new { Tag = "SomeTag" })%>
But the thing i cant get right is how the controller should look like to pick up the different tags. Anyone got any help on this topic?