A ComboBoxTag references a DataCollection in the context hierarchy and creates an HTML select element using the collection's inner elements.
Mandatory attributes
dataNameForList, dataName. If the DataCollection is an IndexedCollection, item and value are mandatory.
ComboBoxTag attributes
dataNameForList
ID of the DataCollection.
If the DataCollection is a KeyedCollection, each inner DataField corresponds to an option element. The combo box uses the field ID as the option label and the field value as the option value.
If the DataCollection is an IndexedCollection, the inner elements must be KeyedCollections, and the item and value attributes are mandatory. Each inner KeyedCollection corresponds to an option element. The combo box uses the collection field named in the item attribute as the option label and uses the collection field named in the value attribute as the option value. If the data element named dataName contains the value of an option element, the combo box highlights this option element as selected (it is the default).
dataName
Name of the DataField in the context hierarchy. If the DataField is read only, in Internet Explorer the combo box is also read only.
If a form containing a combo box is submitted, the context's element named dataName is set with the combo box value.
item
Collection field to use as the option label.
Default value: null
value
Collection field to use as the option value.
Default value: null
style
Style for the combo box.
Default value: null
custom
Adds attributes to the input element. The following is the format of this attribute: