Skip to main content
.NET 6.0+

CollectionSourceBase.Reload() Method

Reloads the current Collection Source’s CollectionSourceBase.Collection.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp


public virtual void Reload()


The Reload method does not reload objects in a collection. Do not use this method to refresh the data displayed in a List View. Instead, call the View.Refresh method.

Execution of this method raises two events - CollectionSourceBase.CollectionReloading and CollectionSourceBase.CollectionReloaded. The CollectionReloading event occurs before the collection has been reloaded. The CollectionReloaded event occurs after the collection has been reloaded. Handle these events to be notified when a Collection Source’s collection is reloaded from the database. Additionally, you may need to handle the CollectionSourceBase.CollectionChanging and CollectionSourceBase.CollectionChanged events. These events occur when the collection is recreated.

When deriving from the CollectionSourceBase class, override this method to reload the Collection Source’s collection.

See Also