Vulnerability in EPiServer.Forms
Is their anyway of identifying what content area you are placing your content function into, i need to do this is the layout will change depending where the function has been placed
Ok the only way i could identify a solution for this was to do the following
ContentAreaData contentArea = this.CurrentExtensionPageData.GetContentAreaById("RightColumn");
foreach (var data in contentArea.ContentFunctions)
if (data.Guid == ContentFunctionData.Guid)
string xtc = "do some magic";
Let me know if any one else finds any different approaches to this .