Class PropertySelectMultipleControlBase

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

Implements
System.Web.UI.INamingContainer
Inherited Members
Namespace: EPiServer.Web.PropertyControls
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public abstract class PropertySelectMultipleControlBase : PropertyDataControl, IPropertyControl, INamingContainer, IRenderSettings

Constructors

PropertySelectMultipleControlBase()

Declaration
protected PropertySelectMultipleControlBase()

Properties

EditControl

Gets or sets the control used to edit the property.

Declaration
protected CheckBoxList EditControl { get; set; }
Property Value
Type Description
System.Web.UI.WebControls.CheckBoxList

The control used to edit the property.

PropertyMultipleValue

Gets the property cast as a PropertyMultipleValue.

Declaration
protected PropertyMultipleValue PropertyMultipleValue { get; }
Property Value
Type Description
PropertyMultipleValue

The property cast as a PropertyMultipleValue

Methods

ApplyEditChanges()

Applies changes for the posted data to the page's properties when the RenderType property is set to Edit.

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

IsValueActive(String)

Determines whether the specified value is active for the property.

Declaration
public bool IsValueActive(string value)
Parameters
Type Name Description
System.String value

The value.

Returns
Type Description
System.Boolean

true if the specified value is active for the property.; otherwise, false.

SaveValuesForCheckBoxList(CheckBoxList)

Saves the values for check box list.

Declaration
protected virtual void SaveValuesForCheckBoxList(CheckBoxList inputControl)
Parameters
Type Name Description
System.Web.UI.WebControls.CheckBoxList inputControl

The input control.

Implements

System.Web.UI.INamingContainer

Extension Methods