Click or drag to resize

MapperDatasheetRecordDeleteEvent Delegate

The prototypes for handlers for the RecordDeleteEvent event. The event is fired when the datasheet deletes a row in reponse to the UI of the datasheet itself. Note that this event will not be fire in the case where the delete is invoked by some UI element that is not directly generated by the datasheet. So for example, this event is fired when the row delete icon (the little on each datasheet row) is clicked, but not when the toolbar delete button is clicked.

Namespace:  NetQuarry.Data.WebMappers
Assembly:  EAP.WebMappers (in EAP.WebMappers.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public delegate void RecordDeleteEvent(
	IMapper sender,
	EventArgs e
)

Parameters

sender
Type: NetQuarry.DataIMapper
The mapper doing the delete.
e
Type: SystemEventArgs
Event parameters.
Remarks
Note that this event is provided for aspx and ascx controls hosting this control. For general business rules the RowBeforeDelete/RowAfterDelete mapper extension events should be used.
See Also