Back to Devexpress

ASPxGridBase.SubstituteFilter Event

aspnet-devexpress-dot-web-dot-aspxgridbase-b75511ab.md

latest1.6 KB
Original Source

ASPxGridBase.SubstituteFilter Event

Allows you to replace a filter applied with another filter.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event EventHandler<SubstituteFilterEventArgs> SubstituteFilter
vb
Public Event SubstituteFilter As EventHandler(Of SubstituteFilterEventArgs)

Event Data

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

PropertyDescription
FilterGets or sets the filter applied to a data control.

Remarks

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

ASPxGridBase Class

ASPxGridBase Members

DevExpress.Web Namespace