public override bool LoadData(ActivityInfo ai) { if ((ai == null) || !ModuleManager.IsModuleLoaded(ModuleName.MESSAGEBOARD)) { return(false); } switch (ai.ActivityType) { case PredefinedActivityType.MESSAGE_BOARD_COMMENT: case PredefinedActivityType.SUBSCRIPTION_MESSAGE_BOARD: break; default: return(false); } int nodeId = ai.ActivityNodeID; lblDocIDVal.Text = GetLinkForDocument(nodeId, ai.ActivityCulture); if (ai.ActivityType == PredefinedActivityType.MESSAGE_BOARD_COMMENT) { plcComment.Visible = true; GeneralizedInfo iinfo = ModuleCommands.MessageBoardGetBoardMessageInfo(ai.ActivityItemDetailID); if (iinfo != null) { txtComment.Text = ValidationHelper.GetString(iinfo.GetValue("MessageText"), null); } } return(true); }