Back to Devexpress

GridSettingsBase.FilterControlParseValue Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-gridsettingsbase-d5bfb9d3.md

latest2.4 KB
Original Source

GridSettingsBase.FilterControlParseValue Property

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

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public FilterControlParseValueEventHandler FilterControlParseValue { get; set; }
vb
Public Property FilterControlParseValue As FilterControlParseValueEventHandler

Property Value

TypeDescription
FilterControlParseValueEventHandler

A FilterControlParseValueEventHandler delegate method allowing you to implement custom processing.

|

Remarks

Each time an end-user modifies a filter condition within the built-in filter, 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

Declaring Server-Side Event Handlers

Grid View

GridSettingsBase Class

GridSettingsBase Members

DevExpress.Web.Mvc Namespace