Friday, January 20, 2012

Displaying EditableRegion content in transformations

For a website we are developig using Kentico CMS we wanted to show summaries of subpages of the current page. Along with the name of the document, there should be the introduction tekst from the page. The introduction is entered on the subpage in an editable region.

The menu control uses transformations to show title, date etc. With the following code snippet, any editable region field can be retrieved in the transformation.