AI OnAI Off
EPiServer.Core.IPageSource page = System.Web.HttpContext.Current.Handler as EPiServer.Core.IPageSource;
if (page != null)
{
EPiServer.Core.PageData pd = page.CurrentPage;
if (pd != null)
{
// do stuff here
}
}
Brgds,
Niklas