FileSystemProviderFactory.Custom() Method
Creates a custom file system provider.
Namespace: DevExtreme.AspNet.Mvc.Factories
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public CustomFileSystemProviderBuilder Custom()
Returns
Type | Description |
---|---|
CustomFileSystemProviderBuilder | An instance of CustomFileSystemProviderBuilder. |
Remarks
@(Html.DevExtreme().FileManager()
.FileSystemProvider(provider => provider.Custom()
.GetItems("getItems")
.UploadFileChunk("uploadFileChunk")
.DownloadItems("downloadItems")
)
//...
)
<script>
function getItems(parentDirectory) {
//your code
}
function uploadFileChunk(fileData, uploadInfo, destinationDirectory) {
// your code
}
function downloadItems(items) {
// your code
}
</script>
Online Demo
See Also