private void CustomDocumentListDisplayForm_Load(object sender, EventArgs e)
        {
            lblCannotSaveHint.Text = "";
            Text = "Configure Document Listing settings";
            tbDefaultGlobalFieldName.Text = Settings.Default.CustomDocumentDisplayIdentifier;

            gbCustom.Text = string.Format("Custom Document Listing settings for {0}/{1}", _databaseId, _documentCollectionId);

            _propertyKeysForDocument = DynamicHelper.GetPropertyKeysForDynamic(_firstDocument);
            foreach (var prop in _propertyKeysForDocument)
            {
                cbSortFields.Items.Add(prop);
            }

            _setting = _customDocumentListDisplayManager.FindCustomDocumentListDisplay(_hostName, _databaseId, _documentCollectionId);

            SetStatusForSettingFields(_setting != null);

            SetAllSettingFields();
        }