Skip to main content
Tab

ASPxFileManager.CustomFileSystemProvider Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.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:

  • In markup:

    <dx:ASPxFileManager ID="ASPxFileManager1" runat="server" 
         CustomFileSystemProviderTypeName="LinqFileSystemProvider" >
    
         ...
    
    </dx:ASPxFileManager>
    
  • In code (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.

See Also