Back to Devexpress

ASPxVerticalGrid.RecordUpdating Event

aspnet-devexpress-dot-web-dot-aspxverticalgrid-bfa1da6d.md

latest2.5 KB
Original Source

ASPxVerticalGrid.RecordUpdating Event

Enables you to prevent a record from being updated.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event ASPxDataUpdatingEventHandler RecordUpdating
vb
Public Event RecordUpdating As ASPxDataUpdatingEventHandler

Event Data

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

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
KeysGets a dictionary of field name/value pairs that represent the primary key of the row to update.
NewValuesGets a dictionary that contains the values of the non-key field name/value pairs in the row to be updated.
OldValuesGets a dictionary that contains the original field name/value pairs in the row to be updated.

Remarks

The RecordUpdating event occurs when an end-user has changed cell values and tries to pass them to the data source by clicking the Update command. To cancel the update operation, set the event parameter’s Cancel property to true.

After a record has been updated, the ASPxVerticalGrid.RecordUpdated event is raised.

See Also

RecordUpdated

Vertical Grid

ASPxVerticalGrid Class

ASPxVerticalGrid Members

DevExpress.Web Namespace