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
 [Expand]ASP.NET WebForms Controls
 [Collapse]ASP.NET MVC Extensions
  [Expand]Product Information
  [Expand]Getting Started
  [Expand]Common Concepts
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Reporting
  [Expand]Charting
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors Extensions
  [Expand]Docking and Popups
  [Collapse]File Management
   [Collapse]File Manager
     Overview - FileManager
    [Collapse]Concepts
      Thumbnails
      View Modes
      Uploading Files
      File Download
     [Expand]Access Control Overview
     [Collapse]Binding to Data
       Binding to Data Overview
       Binding to Folder
       Binding to Custom File System Provider
    [Expand]Visual Elements
   [Expand]File Upload
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Extensions
  [Expand]SpellChecker
  [Expand]Query Builder
 [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

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?​​​​​​​