Table of Contents


aspx:FieldCheckboxMultiPicklist

This is a composite HTML input that allows more than one selection to be made. The component automatically reads the values from the Entity field metadata and displays a list of checkboxes for the bound pick-list:

<aspx:FieldCheckboxMultipicklist runat='server' value='{!Model.Options}'/>


You may populate the values from a list of objects stored in Model or DataBag:

<aspx:FieldCheckboxMultipicklist runat='server' value='{!Model.Options}' DataSource='<%#DataBag.Options%>' dataTextField="Name" dataValueField="Id" />


Properties

PropertyDescription
IdThe ID of the HTML element.
ValueBind value containing the name of the object and the field to bind. You may bind Model or Items from DataBag.
LabelLabel of a field within the section. 
RequiredA Boolean value that specifies whether this component is a required field. If set to true, the user must specify a value for this field. If not selected, this value defaults to false.
HintA text value that is shown to the user on the right side of the input component to assist the user.
HideLabelA Boolean value that specifies whether this field's label should be visible or not. If set to false, the input component spans across the entire row.
ReadOnlyA Boolean value that specifies whether this field is read only or editable.
EnabledTrue/False; enables or disables the component.
DataSourceAllows custom binding of a list of options. If not populated, the component will read from the field metadata.

DataTextField

Name of the field in the list of data objects passed through DataSource
DataValueFieldName of the field in the list of data objects passed through DataSource