Episerver – How to know a block’s position in a content area

Sometimes you want to render a block differently depending on what position it has in a content area. Per Magne Skuseth presented a solution some years ago. Here's a couple of alternate ways of solving the same issue. Know the index of a block using a controller Add a tag (e.g. "IndexInContentArea") when rendering the content … Continue reading Episerver – How to know a block’s position in a content area