ComponentOne AppView for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1GridView Namespace / C1GridView Class / RowDeleting Event

In This Topic
    RowDeleting Event
    In This Topic
    Occurs when the Delete button is clicked, but before the C1GridView instance handles the delete operation.
    Syntax
    'Declaration
     
    Public Event RowDeleting As C1GridViewDeleteEventHandler
    public event C1GridViewDeleteEventHandler RowDeleting
    Event Data

    The event handler receives an argument of type C1GridViewDeleteEventArgs containing data related to this event. The following C1GridViewDeleteEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets a dictionary of field name/value pairs that represent the primary key of the item to delete.  
    Gets the index of the row being deleted.  
    Gets a dictionary of the non-key field name/value pairs in the item to delete.  
    Remarks
    To cancel the operation set the Cancel property of the C1GridViewDeleteEventArgs object to true. You must implement this event if the grid is not bound to a DataSource control.
    See Also