Skip to main content
A newer version of this page is available. .
Tab

FileManagerAfterPerformCallbackEventArgs.CallbackName Property

Gets the callback name.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

public string CallbackName { get; }

Property Value

Type Description
String

A String value that specifies the callback name.

Remarks

Use the CallbackName property to identify the processed callback.

The ASPxClientFileManagerCallbackCommand class declares client constants that contain the names of commands executed through callbacks.

The example below illustrates how to enable the file list’s details view when a filter box contains a 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