Back to Devexpress

ASPxGridBase.FilterControlParseValue Event

aspnet-devexpress-dot-web-dot-aspxgridbase-65b14f4b.md

latest3.5 KB
Original Source

ASPxGridBase.FilterControlParseValue Event

Enables you to process and modify an entered value before it is actually accepted by the filter control.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event FilterControlParseValueEventHandler FilterControlParseValue
vb
Public Event FilterControlParseValue As FilterControlParseValueEventHandler

Event Data

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

PropertyDescription
HandledGets or sets a value specifying whether the event was handled.
PropertyInfoGets the filterable property of the filter expression.
TextGets the filterable property’s value entered into the filter bar by an end user.
ValueGets or sets a value that represents the filter condition for the filter control.

Remarks

Each time an end-user modifies a filter condition within the built-in filter control, this condition is converted to the expression value (the ASPxFilterControlBase.FilterExpression property). The FilterControlParseValue event enables you to implement custom filter condition conversion.

The event’s FilterControlParseValueEventArgs.Text property allows the currently entered value to be obtained. Set the FilterControlParseValueEventArgs.Value property to the value that should actually represent the filter control’s applied value. The FilterControlParseValueEventArgs.Handled property value must be set to true to override the default conversion handling.

See Also

Filter Control

Card View

Online Demo: Grid - Filter Control

Filter Control

Grid View

Online Demo: Card View - Filter Control

Filter Control

Vertical Grid

Online Demo: Vertical Grid - Filter Control

ASPxGridBase Class

ASPxGridBase Members

DevExpress.Web Namespace