Back to Devexpress

ASPxDataBatchUpdateEventArgs.Handled Property

aspnet-devexpress-dot-web-dot-data-dot-aspxdatabatchupdateeventargs-a5cfcffd.md

latest3.1 KB
Original Source

ASPxDataBatchUpdateEventArgs.Handled Property

Specifies whether the ASPxGridBase.BatchUpdate event is handled.

Namespace : DevExpress.Web.Data

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public bool Handled { get; set; }
vb
Public Property Handled As Boolean

Property Value

TypeDescription
Boolean

true, if the event is handled; otherwise, false.

|

Remarks

Set the Handled property to true to indicate that the ASPxGridBase.BatchUpdate event is handled and therefore no default processing is required.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Handled property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

asp-net-web-forms-gridview-custom-buttons-in-batch-edit-mode/CS/T114462/Default.aspx.cs#L48

csharp
e.Handled = true;
}

aspxgridview-prevent-batch-edit-action/CS/Solution/Default.aspx.cs#L15

csharp
//Data editing is not allowed in the example
    e.Handled = true;
}

asp-net-web-forms-gridview-custom-buttons-in-batch-edit-mode/VB/T114462/Default.aspx.vb#L40

vb
e.Handled = True
End Sub

aspxgridview-prevent-batch-edit-action/VB/Solution/Default.aspx.vb#L15

vb
'Data editing is not allowed in the example
    e.Handled = True
End Sub

See Also

ASPxDataBatchUpdateEventArgs Class

ASPxDataBatchUpdateEventArgs Members

DevExpress.Web.Data Namespace