Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Gauges
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Collapse]File Management
   [Expand]Product Information
   [Collapse]File Manager
     ASPxFileManager Overview
    [Collapse]Concepts
      Thumbnails
      View Modes
      Custom Columns
      Toolbar
      Adaptivity
      Uploading Files
      File Download
      Context Menu
     [Expand]Access Control Overview
     [Expand]File System Providers
      Security Considerations
    [Expand]Visual Elements
    [Expand]Member Tables
    [Expand]Examples
   [Expand]File Upload
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Toolbar

The ASPxFileManager toolbar can display the following elements.

Expanded Default Toolbar Items

Expanded Custom Toolbar Items

In addition to default toolbar items, ASPxFileManager provides the capability to display custom items of the following types.

When a custom item is clicked, the ASPxClientFileManager.CustomCommand event is raised allowing you to perform custom actions. You can use the event argument's ASPxClientFileManagerCustomCommandEventArgs.commandName parameter to identify a clicked button by its command name (FileManagerToolbarCustomButton.CommandName).

Example

The code sample below demonstrates how to implement two custom toolbar buttons. The complete sample is available in the DevExpress online demo File Manager - Custom Toolbar.


When a toolbar is about to be updated, e.g., when an active area is changed, the ASPxClientFileManager.ToolbarUpdating event is raised. The event allows you to change toolbar item availability. You can determine the currently active area using the event argument's ASPxClientFileManagerToolbarUpdatingEventArgs.activeAreaName property. To access a particular toolbar item, use the ASPxClientFileManager.GetToolbarItemByCommandName method.

Example

The complete sample is available in the DevExpress online demo File Manager - Custom Toolbar

To learn how to customize toolbar element appearance, see the Visual Element - Toolbar topic.

Expanded See Also

Is this topic helpful?​​​​​​​