AI OnAI Off
Here's a similar thread: http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=171244
Yes, that would work :-)
But I'm a bit curious, on the TemplateResolverEventArgs-object, there is a collection for "Tags". I'm wondering if it somehow would be possible to add both the display options tag and the content area tag to the collection?
So, I'm trying to understand how epi deals with content area items having both a display option tag and a content area tag (provided by setting a Tag in the PropertyFor method for the content area).
When the item is rendered, and in my custom content area renderer, I can get hold of both the display option tag and the content area tag. However, when epi is selecting the template, it only has the display option tag at hand. So my question is, can I get epi to also have the content area tag at hand when selecting the template to use for the item?