ASPxFileManager.CustomFileSystemProvider Property
Gets or sets the custom file system provider used within ASPxFileManager.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v19.1.dll
Declaration
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.
Related GitHub Examples
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.