Log In
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Collapse]ASP.NET MVC Extensions
  [Expand]Product Information
  [Expand]Getting Started
  [Expand]Common Concepts
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Rich Text Editor
  [Expand]HTML Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Navigation and Layout Extensions
  [Collapse]File Management
   [Collapse]File Manager
     Overview - FileManager
      View Modes
      Uploading Files
      File Download
      Access Control
     [Collapse]Binding to Data
       Binding to Data Overview
       Binding to Folder
       Binding to Custom File System Provider
    [Expand]Visual Elements
   [Expand]File Upload
  [Expand]Multi-Use Site Extensions
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Data Editor Extensions
  [Expand]Report Extensions
 [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]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Binding to Custom File System Provider

FileManager allows you to implement a custom system provider.

To create a custom provider, follow the steps below.

  1. Create your own provider class by inheriting it from the base FileSystemProviderBase class.

  2. Provide implementation for the required virtual methods in your class. If you inherit from FileSystemProviderBase, the implementation of the following methods is essential:

  3. Bind the FileManager to your provider class instance via the FileManagerExtension.BindToFileSystemProvider method. FileManager will use your custom provider to access data.

    Controller code:

    View code:

    Partial View code ("DataBindingPartial.cshtml"):

Expanded Online Demo

Expanded See Also

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