A property control that creates a drop down list 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.
Namespace:
EPiServer.Web.PropertyControlsAssembly: EPiServer (in EPiServer.dll) Version: 5.2.375.236
Syntax
| C# |
|---|
public class PropertyAppSettingsControl : PropertySelectControlBase |
Examples
The settings should be defined like this in web.config:
CopyC#
<appSettings>
<add key="MyProperty" value="label1;value1|label2;value2" />
<add key="AnotherProperty" value="label10;value10|label20;value20" />
</appSettings>
Inheritance Hierarchy
System..::.Object
System.Web.UI..::.Control
System.Web.UI.WebControls..::.WebControl
EPiServer.Web.PropertyControls..::.PropertyDataControl
EPiServer.Web.PropertyControls..::.PropertySelectControlBase
EPiServer.Web.PropertyControls..::.PropertyAppSettingsControl
System.Web.UI..::.Control
System.Web.UI.WebControls..::.WebControl
EPiServer.Web.PropertyControls..::.PropertyDataControl
EPiServer.Web.PropertyControls..::.PropertySelectControlBase
EPiServer.Web.PropertyControls..::.PropertyAppSettingsControl