private void setAdditionalFunctions() { TaskManager = (CreateTaskmanager)Session["CreateDatasetTaskmanager"]; //set function actions of COPY, RESET,CANCEL,SUBMIT ActionInfo copyAction = new ActionInfo(); copyAction.ActionName = "Copy"; copyAction.ControllerName = "CreateDataset"; copyAction.AreaName = "DCM"; ActionInfo resetAction = new ActionInfo(); resetAction.ActionName = "Reset"; resetAction.ControllerName = "Form"; resetAction.AreaName = "DCM"; ActionInfo cancelAction = new ActionInfo(); cancelAction.ActionName = "Cancel"; cancelAction.ControllerName = "Form"; cancelAction.AreaName = "DCM"; ActionInfo submitAction = new ActionInfo(); submitAction.ActionName = "Submit"; submitAction.ControllerName = "CreateDataset"; submitAction.AreaName = "DCM"; TaskManager.Actions.Add(CreateTaskmanager.CANCEL_ACTION, cancelAction); TaskManager.Actions.Add(CreateTaskmanager.COPY_ACTION, copyAction); TaskManager.Actions.Add(CreateTaskmanager.RESET_ACTION, resetAction); TaskManager.Actions.Add(CreateTaskmanager.SUBMIT_ACTION, submitAction); }