Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
I found this useful blogentry by Marek Blotny.
http://marekblotny.blogspot.com/2009/06/episerver-composer-how-to-load-content.html
Thank you :-)
To minimize the administration task for our customer we want to base the content of a particular extensionarea on inheritance. It's not a problem to find the contents, for the page above:
var epd = ExtensionPageData.Load(CurrentPage.ParentLink);
var rightContentArea = epd.GetContentAreaById("Right");
if (rightContentArea != null && rightContentArea.ContentFunctions != null && rightContentArea.ContentFunctions.Count > 0)
{
foreach (var a in rightContentArea.ContentFunctions)
{
// then what
}
}
But what do I do next, to render these contentfunctions?