Skip to main content

ASPxClientTextEdit.TextChanged Event

Fires when the control accepts the new text value entered by a user.


TextChanged: ASPxClientEvent<ASPxClientProcessingModeEventHandler<ASPxClientTextEdit>>

Event Data

The TextChanged event's data class is ASPxClientProcessingModeEventArgs. The following properties provide information specific to this event:

Property Description
processOnServer Specifies whether or not to process the event on the server.


The control raises the TextChanged event after it accepts the text value entered by a user. To accept the new value, a user can press Enter, or defocus the text field (press Tab, or click another page area).

To react to any key press, handle the KeyUp event.

The event’s processOnServer argument property specifies whether to finally process the event on the server and fire the ASPxTextEdit.TextChanged event or completely handle the TextChanged event on the client-side.

<dx:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False" KeyFieldName="CustomerID"
        <dx:GridViewCommandColumn ShowDeleteButton="True" ShowEditButton="True" ShowNewButtonInHeader="True"/>
        <dx:GridViewDataTextColumn FieldName="CompanyName">
                <ClientSideEvents TextChanged="OnTextChanged" />
        <dx:GridViewDataTextColumn FieldName="ContactName"/>
    <SettingsEditing Mode="Inline" />
function OnTextChanged(s, e) {
    grid.SetEditValue("ContactName", "Check the company name");

ASPxGridLookup Limitation

  • When the ASPxGridLookup editor’s value changes, the editor sends a callback to the server to synchronize its value with the internal ASPxGridView control’s selection. Because of this, the server-side ASPxTextEdit.TextChanged event fires before the client-side TextChanged event.
See Also