Skip to main content

ASPxGridBase.SubstituteFilter Event

Allows you to replace a filter applied with another filter.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.1.dll

NuGet Package: DevExpress.Web


public event EventHandler<SubstituteFilterEventArgs> SubstituteFilter

Event Data

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

Property Description
Filter Gets or sets the filter applied to a data control.


The applied filter is specified by the Filter event parameter. To replace this filter, assign a new filter criterion to this parameter.

Note that changing the Filter property value in the SubstituteFilter event handler does not affect the grid’s UI and FilterExpression property value.

See Also