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

ASPxEdit.ValueChanged Event

Fires after the editor’s value has been changed.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public event EventHandler ValueChanged

Event Data

The ValueChanged event's data class is EventArgs.

Remarks

Handle the ValueChanged event to respond to an editor’s value being changed.

Note

The ValueChanged event’s generation depends upon the settings of the ASPxEdit.AutoPostBack property and the ASPxClientProcessingModeEventArgs.processOnServer property passed to the corresponding client ASPxClientEdit.ValueChanged event, if it is handled. refer to the descriptions of these properties for more information.

Example

ASPxSpinEdit:

<dx:ASPxComboBox ID="ASPxComboBox1" runat="server" AutoPostBack="true" OnValueChanged="ASPxComboBox1_ValueChanged">
    <Items>
        <dx:ListEditItem Text="Item1" Value="10" />
        <dx:ListEditItem Text="Item2" Value="20" />
    </Items>
</dx:ASPxComboBox>

<dx:ASPxSpinEdit ID="ASPxSpinEdit1" OnValueChanged="ASPxSpinEdit1_ValueChanged" runat="server" Number="0" MinValue="0" MaxValue="1" AutoPostBack="true">
</dx:ASPxSpinEdit>
See Also