AxpDataGrid

AxpDataGrid.BeforeDeleteRecord Event

Triggers before a database record is about to be deleted.

[Visual Basic]
Public Event BeforeDeleteRecord As BeforeDeleteRecordEventHandler
[C#]
public event BeforeDeleteRecordEventHandler BeforeDeleteRecord;

Event Data

The event handler receives an argument of type UpdateRecordEventArgs containing data related to this event. The following UpdateRecordEventArgs property provides information specific to this event.

Property Description
PrimaryKeyValues Primary key values available in the AfterInsertRecord event handler/delegate

Remarks

AxpDataGrid.UpdateFields can be inspected. The method AbortCommandExecution can be called to abort the delete if needed.

See Also

AxpDataGrid Class | Axezz.WebControls Namespace