protected void AddGroupTodoList() { Ektron.Cms.Framework.ToDo.TodoList todoListApi = new Ektron.Cms.Framework.ToDo.TodoList(); TodoListData todoListData = GetGroupTodoList(); //if todo list doesnt exist, add it if (todoListData == null) { todoListData = new Ektron.Cms.ToDo.TodoListData() { Name = this.GroupName_TB.Text, ObjectType = Ektron.Cms.Common.EkEnumeration.CMSObjectTypes.CommunityGroup, ObjectId = this.m_iID }; todoListApi.Add(todoListData); } }