Skip to main content
Tab

ASPxComboBox.Text Property

Gets the text displayed within the editor’s edit box.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public override string Text { get; set; }

Property Value

Type Default Description
String String.Empty

The textual representation of the editor’s value.

Remarks

The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio designer tools.

<dx:ASPxComboBox ID="ComboBox" runat="server" ValueType="System.String" TextField="ProductName"
    OnTextChanged="ComboBox_TextChanged">
    <!-- ... -->
</dx:ASPxComboBox>
protected void ComboBox_TextChanged(object sender, EventArgs e) {
    var text = ComboBox.Text;
    // ...
}
See Also