Determine RenderingTags in blocktemplate

Member since: 2007

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.

#65842 Feb 12, 2013 10:22
  • Per Magne Skuseth
    Member since: 2009

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

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



    #65909 Feb 13, 2013 21:30