FileManagerAfterPerformCallbackEventArgs Class
Provides data for the ASPxFileManager.AfterPerformCallback event.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Remarks
The following example illustrates how to use the AfterPerformCallback event to switch the view of ASPxFileManager items in the file list depending on whether or not the filter box contains any value.
protected void fileManager_AfterPerformCallback(object sender, DevExpress.Web.FileManagerAfterPerformCallbackEventArgs e) {
if(e.CallbackName != FileManagerCallbackCommand.GetFileList)
return;
fileManager.SettingsFileList.View = string.IsNullOrEmpty(fileManager.FilterBoxText) ? FileListView.Thumbnails : FileListView.Details;
}
See Also