Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeListEditModelSavingEventArgs.Reload Property

Specifies whether to reload TreeList data after the EditModelSaving event handler is processed.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public bool? Reload { get; set; }

#Property Value

Type Description
Nullable<Boolean>

true to reload TreeList data; otherwise, false.

#Remarks

The EditModelSaving event fires when you call the SaveChangesAsync() method or a user saves changes and validation succeeds. Handle the event to make final data changes, check access permissions, post changes to 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:

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.

See Also