Skip to main content
Tab

ASPxGridBase.ParseValue Event

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public event ASPxParseValueEventHandler ParseValue

Event Data

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

Property Description
FieldName Gets the name of a data field containing the parsed value.
ItemIndex Gets a visible index of the currently processed row.
Value Gets or sets the edited row’s value that belongs to the specified data field.

Remarks

Each time an end-user switches from the edit mode to browse mode, the text displayed within edit cells is converted to a specific edit value type (numeric, date/time, etc.). The ParseValue event enables you to implement custom edit value conversion.

Note

The ParseValue event is not in effect for the MVCxGridView class.

See Also