FileSystemProviderFactory.Custom() Method
In This Article
Creates a custom file system provider.
Namespace: DevExtreme.AspNet.Mvc.Factories
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public CustomFileSystemProviderBuilder Custom()
#Returns
Type | Description |
---|---|
Custom |
An instance of Custom |
#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