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
| Property | Description |
|---|
| Id | The ID of the HTML element. |
| Value | Bind value containing the name of the object and the field to bind. You may bind Model or Items from DataBag. |
| Label | Label of a field within the section. |
| Required | A 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. |
| Hint | A text value that is shown to the user on the right side of the input component to assist the user. |
| HideLabel | A 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. |
| ReadOnly | A Boolean value that specifies whether this field is read only or editable. |
| Rows | Number of visible lines in the Select List. |
| Enabled | True/False; enables or disables the component. |
| OnChange | JavaScript event for change. |