A newer version of this page is available. Switch to the current version.

ASPxClientFileManagerCallbackCommand Class

Declares client constants that contain the names of the ASPxFileManager’s default commands executed through callbacks.

Declaration

declare class ASPxClientFileManagerCallbackCommand

Remarks

function OnCustomCommand(s, e) {
    switch(e.commandName) {
        case "ChangeView-Thumbnails":
            FileManager.PerformCallback("Thumbnails");
            break;
        case "ChangeView-Details":
            FileManager.PerformCallback("Details");
            break;
        case "Properties":
            PopupControl.PerformCallback(FileManager.GetActiveAreaName());
            break;
    }
}

Online Demo

ASPxFileManager - Custom Toolbar

See Also