Table of Contents


aspx:FieldMultipicklist

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.

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


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

<aspx:FieldMultipicklist 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 inputField 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.
RowsNumber of visible lines in the Select List.
EnabledTrue/False; enables or disables the component.
OnChangeJavaScript event for change.