FileManagerSettings.ItemMoving Property

Fires on the server side before an item is moved and allows you to cancel the action.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v21.2.dll


public FileManagerItemMoveEventHandler ItemMoving { get; set; }

Property Value

Type Description

A FileManagerItemMoveEventHandler delegate method to be called when an item is about to be moved.


Each time an item is going to be moved on the server side, the ItemMoving event occurs, allowing you to cancel the move. The event parameter’s FileManagerItemMoveEventArgs.Item property identifies the item that is being processed. The new location of an item can be obtained via the FileManagerItemMoveEventArgs.DestinationFolder property. To cancel the move operation, set the FileManagerActionEventArgsBase.Cancel property to true. In order to show a message, explaining the reason for the move cancellation, specify the FileManagerActionEventArgsBase.ErrorText property.

See Also