Tab

ASPxFilterControlBase.ParseValue Event

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public event FilterControlParseValueEventHandler ParseValue
Public Event ParseValue As FilterControlParseValueEventHandler

Event Data

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

Property Description
Handled Gets or sets a value specifying whether the event was handled.
PropertyInfo Gets the filterable property of the filter expression.
Text Gets the filterable property's value entered into the filter bar by an end user.
Value Gets 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 control, this condition is converted to the expression value (the ASPxFilterControlBase.FilterExpression property). The ParseValue event enables you to implement custom filter condition conversion.

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

See Also