November Happy Hour will be moved to Thursday December 5th.

Class PropertySelectControlBase

Abstract class that can be inherited from when you want to create a DropDownList with custom values.

Implements
System.Web.UI.INamingContainer
Inherited Members
Namespace: EPiServer.Web.PropertyControls
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
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

true if an empty value should be created; otherwise, false.

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

Extension Methods