public static LookUpEditBase SetDefaultMode(this LookUpEditBase editor)
        {
            if (_activity == null)
            {
                _activity = new Activity();
                _activity.LoadDefaultByUser(CurrentContext.UserId);
            }

            if (_activity.RowCount > 0)
            {
                editor.EditValue = _activity.ModeID;
            }
            return editor;
        }
        public static BaseEdit SetDefaultActivity(this BaseEdit editor)
        {
            if (_activity == null)
            {
                _activity = new Activity();
                _activity.LoadDefaultByUser(CurrentContext.UserId);
            }

            if (_activity.RowCount > 0)
            {
                editor.EditValue = _activity.ID;
            }
            return editor;
        }