Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Custom Thumbnails

  • Expand/collapse folder containerExpand/collapse folder container
  • RefreshRefresh
  •  
    ...
  • Collapse
    FolderFiles
    • Expand
      FolderDocuments
      • Expand
        FolderProjects
        • FolderTest project
        • FolderXml list
      • FolderReports
    • Expand
      FolderImages
      • FolderEmployees
      • FolderProduct icons
    • FolderMusic
    • FolderSystem
    • FolderVideo

In addition to the automatic thumbnail creation feature, the ASPxFileManager allows you to provide custom thumbnails by handling the CustomThumbnail server event. This event allows you to specify how all files or certain files should be visually represented in folders. Within the event handler, the currently processed file can be accessed and identified using the File property, and a custom thumbnail can be defined for the file from the ThumbnailImage.Url property.

In this demo, the CustomThumbnail event is handled to analyze file extensions and display the corresponding custom thumbnail image based on the file type.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxFileManagerAndUploadDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxFileManagerAndUploadDemos