Try our conversational search powered by Generative AI!

Determine RenderingTags in blocktemplate


Is is possible to determine the RenderingTags inside a block. I would like to sett diffrent properties depending on RenderingTag but i do not like to use more then one template since they do not change that much except a couple of settings.

Feb 12, 2013 10:22

If you are using webforms, you should be able to do something like this in your block template:

(this.Parent.BindingContainer as PropertyContentAreaControl).Tag;



Feb 13, 2013 21:30
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.