ASPxComboBox.DataBind() Method
Binds the data source to the ASPxComboBox control.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v22.2.dll
NuGet Package: DevExpress.Web
Declaration
Remarks
This method binds data from the data source to the ASPxComboBox control.
If the “Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control” exception appears, use the ASPxAutoCompleteBoxBase.DataBindItems method instead of the DataBind method. Note that the DataBinding event is not raised in this case. For more details, see the Binding to Data topic.
Note
If you call the DataBind method within the ASPxAutoCompleteBoxBase.Callback event handler, the DataBinding event is not raised. For more details, see the Binding to Data topic.