November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
private void OnMovingPage(object sender, PageEventArgs e)
{
PageData movingPage = EPDataFactory.GetPage(e.PageLink);
if (movingPage.PageTypeName == "Chapter")
{
// etc...
}
}
EPDataFactory.MovingPage += new PageEventHandle(OnMovingPage);
The method:private void OnMovingPage(object sender, PageEventArgs e) { if(e.Page.PageTypeName=="Chapter") { try {PageData testpage = EPDataFactory.GetPage(new PageReference(237)); } catch { e.CancelAction = true; } } }
Any help would be appreciated. Regards Christian