A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
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?