Skip to main content

ASPxClientProcessingModeEventArgs.processOnServer Property

Specifies whether or not to process the event on the server.

Declaration

processOnServer: boolean

Property Value

Type Description
boolean

true to handle the event on the server; false to handle it on the client.

Remarks

The processOnServer property allows you to specify where to handle the event:

  • false - Handles a user action on the client side without a postback.
  • true - Handles the user action on the client side, then goes to the server side.

The processOnServer property gets the true value if you set the AutoPostBack property to true.

ASPxTextBox - processOnServer

<dx:ASPxTextBox ID="Number" runat="server" Text="0" OnTextChanged="ASPxTextBox1_TextChanged">
    <ClientSideEvents TextChanged="function(s,e) { e.processOnServer=true; }" />
</dx:ASPxTextBox>
<dx:ASPxTextBox ID="SquareOfTheNumber" runat="server" Text="0" />            
See Also