Back to Devexpress

ASPxGridBase.ParseValue Event

aspnet-devexpress-dot-web-dot-aspxgridbase-445cab50.md

latest1.8 KB
Original Source

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

NuGet Package : DevExpress.Web

Declaration

csharp
public event ASPxParseValueEventHandler ParseValue
vb
Public Event ParseValue As ASPxParseValueEventHandler

Event Data

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

PropertyDescription
FieldNameGets the name of a data field containing the parsed value.
ItemIndexGets a visible index of the currently processed row.
ValueGets 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

ASPxGridBase Class

ASPxGridBase Members

DevExpress.Web Namespace