Skip to main content
A newer version of this page is available. .

How to: Bind ASPxComboBox to DateTime data

The ASPxComboBox.ValueType property determines the type of the ASPxComboBox value. This property cannot have the System.DateTime value: the control does not support this value type. You should use the ASPxDateEdit component to display dates. However, there are cases when it is not suitable. For example, if a user needs to select a combo box value from multiple predefined dates, you can use one of the following techniques:

If the combo box is used inside the ASPxGridView (as an editor inside a template or as a GridViewDataComboBoxColumn column’s editor), use unbound columns and apply one of the above approaches.

See Also