Class PropertySelectControlBase
Abstract class that can be inherited from when you want to create a DropDownList with custom values.
Inheritance
System.Object
PropertySelectControlBase
Inherited Members
Namespace: EPiServer.Web.PropertyControls
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public abstract class PropertySelectControlBase : PropertyDataControl, IPropertyControl, INamingContainer, IRenderSettings
Constructors
PropertySelectControlBase()
Declaration
protected PropertySelectControlBase()
Properties
AutoGenerateEmptyValue
Gets or sets a value indicating whether an empty value should be created for the DropDownList.
Declaration
protected virtual bool AutoGenerateEmptyValue { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EditControl
Gets or sets the control used to edit the property.
Declaration
protected DropDownList EditControl { get; set; }
Property Value
Type | Description |
---|---|
System.Web.UI.WebControls.DropDownList | The control used to edit the property. |
Methods
ApplyEditChanges()
Applies changes for the posted data to the page's properties.
Declaration
public override void ApplyEditChanges()
Overrides
Remarks
This method is called from ApplyChanges() if the control does not have an adapter.
CreateEditControls()
Creates an edit interface for the property.
Declaration
public override void CreateEditControls()
Overrides
Implements
System.Web.UI.INamingContainer