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.v20.2.dll

Declaration

public event ASPxParseValueEventHandler ParseValue
Public Event ParseValue As ASPxParseValueEventHandler

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