Skip to main content
A newer version of this page is available. .
Tab

ASPxFileManager.CustomFileSystemProvider Property

Gets or sets the custom file system provider used within ASPxFileManager.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

public FileSystemProviderBase CustomFileSystemProvider { get; set; }

Property Value

Type Description
FileSystemProviderBase

A FileSystemProviderBase object that is the file system provider.

Remarks

ASPxFileManager allows you to implement a custom file system provider. Use the CustomFileSystemProvider property to specify a provider that is used within ASPxFileManager.

The following code snippets illustrates how to specify the CustomFileSystemProvider property:

  • Declaratively:

    <dx:ASPxFileManager ID="ASPxFileManager1" runat="server" 
         CustomFileSystemProviderTypeName="LinqFileSystemProvider" >
    
         ...
    
    </dx:ASPxFileManager>
    
  • Programmatically (on the Page_Init event):

    public partial class FileManager_CustomFilterAPI : System.Web.UI.Page {
        protected void Page_Init(object sender, EventArgs e) {
            FileManager.CustomFileSystemProvider = new CustomFileSystemProvider(FileManager.Settings.RootFolder);
        }
    }
    

To learn more, see the Custom File System Provider topic.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CustomFileSystemProvider property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also