/// <summary>
        /// method returns the Save
        /// </summary>
        public bool OnSave(bool close)
        {
            // initial value
            bool saved = false;

            // if the value for HasParentListEditorHost is true
            if (HasParentListEditorHost)
            {
                // Save the current edit
                saved = ParentListEditorHost.Save();

                // if saved
                if (saved)
                {
                    // Load and display the list
                    LoadAndDisplayList(SelectedItem);
                }
            }

            // Enable or disable controls
            UIEnable();

            // return value
            return(saved);
        }