TreeListDataItemDeletingEventArgs.Reload Property
Specifies whether to reload TreeList data after the DataItemDeleting event handler is processed.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
public bool? Reload { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
|
Remarks
The DataItemDeleting event fires when a user confirms the delete operation in the delete confirmation dialog. Handle this event to check user access permissions, delete a data item from the underlying data source, and reload TreeList data.
TreeList data should be reloaded after you post updates to the data source. The TreeList component automatically reloads its data in response to the following actions:
- After the EditModelSaving or DataItemDeleting event handler is executed.
- After you change an instance of a field/property bound to the Data parameter.
In other cases, call the Reload() method to reload TreeList data.
If you call the Reload() method in the EditModelSaving or DataItemDeleting event handler to refresh data manually, set the Reload
event argument to false
to prevent unnecessary repeated reloads.