Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Data Binding

  • Expand/collapse folder containerExpand/collapse folder container
  • Create (F7)Create
  • Rename (F2)Rename
  • Move (F6)Move
  • Delete (Del)Delete
  • RefreshRefresh
  •  
    ...
  • Collapse
    FolderArts
    • Collapse
      FolderSalvador Dali
      • Folder1910 - 1927
      • Folder1928 - 1935
      • Folder1936 - 1945
      • Folder1946 - 1958
    • Expand
      FolderLeonardo Da Vinci
      • Folder1471 - 1480
      • Folder1481 - 1490
      • Folder1491 - 1500
    • Expand
      FolderRaphael
      • Folder1505 - 1510
      • Folder1510 - 1515
    • Expand
      FolderVan Gogh
      • Folder1883 - 1886
      • Folder1886 - 1889
      • Folder1889 - 1890
Upload

Allowed Extensions: .jpg, .jpeg, .gif, .rtf, .txt, .avi, .png, .mp3, .xml, .doc, .pdf



This demo illustrates how you can enable the File Manager to retrieve its content from a database.

With the File Manager you can visualize file system data that is available in a database. All you have to do is to bind the file manager to a model via the BindToFileSystemProvider method. This method parameter is a data model object.

In this demo, the File Manager is bound to an object of the ArtsFileSystemProvider class, which is derived from the FileSystemProviderBase class and overrides its methods that implement file management operations, e.g. GetFiles, GetFolders, CreateFolder. (See the Model code)

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
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxFileManagerAndUploadDemos