Class PropertyAppSettingsMultipleControl
A property control that creates check boxes with options that are defined in the appSettings section in web.config. The name of the property should match the key for the app setting.
Inheritance
System.Object
PropertyAppSettingsMultipleControl
Inherited Members
Namespace: EPiServer.Web.PropertyControls
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public class PropertyAppSettingsMultipleControl : PropertySelectMultipleControlBase, IPropertyControl, INamingContainer, IRenderSettings
Examples
The settings should be defined like this in web.config:
Constructors
PropertyAppSettingsMultipleControl()
Declaration
public PropertyAppSettingsMultipleControl()
Properties
CacheKey
Gets the cache key for the app settings value.
Declaration
[Obsolete("Use AppSettingsOptionsLoader instead", false)]
protected string CacheKey { get; }
Property Value
Type | Description |
---|---|
System.String | The cache key for the app settings value. |
Methods
GetCashedOptionList()
Gets the options for this property from the appSettings section in web.config.
Declaration
[Obsolete("Use AppSettingsOptionsLoader instead", false)]
protected string GetCashedOptionList()
Returns
Type | Description |
---|---|
System.String | A string with the possible options for this property. |
SetupEditControls()
Used to apply a custom setup to the edit controls.
Declaration
protected override void SetupEditControls()
Overrides
Remarks
This method is called from CreateEditControls after the edit control(s) have been created.
Implements
System.Web.UI.INamingContainer