Skip to content

Commit a03ce1b

Browse files
Merge pull request #7215 from syncfusion-content/ES-993788-file
993788: Need to update the blazor file manager documentation for sequ…
2 parents 6b66ca1 + e47d41e commit a03ce1b

File tree

5 files changed

+36
-0
lines changed

5 files changed

+36
-0
lines changed

blazor/file-manager/end-user-capabilities.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,16 @@ Refer to the [Toolbar](https://blazor.syncfusion.com/documentation/file-manager/
141141

142142
![Download a file in Blazor FileManger](./images/blazor-filemanager-download-operation.png)
143143

144+
### Upload Files or Folders via context menu
145+
146+
In the Blazor File Manager component, you can perform the files or folder [upload](https://blazor.syncfusion.com/documentation/file-manager/file-operations#uploading-files) operations with the help of Context Menu items by switching between the Files or Folder from Upload menu item.
147+
148+
Refer to the [Context Menu](https://blazor.syncfusion.com/documentation/file-manager/context-menu) sections to learn more about the items that are present in Context Menu.
149+
150+
![Upload a file in Blazor FileManger](./images/blazor-filemanager-fileupload.png)
151+
152+
![Download a folder in Blazor FileManger](./images/blazor-filemanager-folderupload.png)
153+
144154
### Searching Files and Folders
145155

146156
In the Blazor File Manager component, you are able to [search](https://blazor.syncfusion.com/documentation/file-manager/file-operations#searching-files-and-folders) for the wanted files and folders using the default input search functionality option.
75.1 KB
Loading
74.7 KB
Loading
44.3 KB
Loading

blazor/file-manager/upload.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,32 @@ The screenshot below shows after successfully selecting a directory it uploads a
3939

4040
![Blazor File Manager with DirectoryUpload](images/blazor-filemanager-directoryupload.png)
4141

42+
## Sequential Upload
43+
44+
The [SequentialUpload](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.FileManager.FileManagerUploadSettings.html#Syncfusion_Blazor_FileManager_FileManagerUploadSettings_SequentialUpload) property controls whether users can upload files one by one in a sequential manner.
45+
46+
To enable sequential upload, set the `SequentialUpload` property to `true` in the [FileManagerUploadSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.FileManager.FileManagerUploadSettings.html) configuration.
47+
48+
When set to `true`, the selected files will process sequentially (one after the other) to the server. If the file uploaded successfully or failed, the next file will upload automatically in this sequential upload. This feature helps to reduce the upload traffic and reduce the failure of file upload.
49+
50+
```cshtml
51+
52+
@using Syncfusion.Blazor.FileManager
53+
54+
<SfFileManager TValue="FileManagerDirectoryContent">
55+
<FileManagerUploadSettings SequentialUpload = "true"></FileManagerUploadSettings>
56+
<FileManagerAjaxSettings Url="https://ej2-aspcore-service.azurewebsites.net/api/FileManager/FileOperations"
57+
UploadUrl="https://ej2-aspcore-service.azurewebsites.net/api/FileManager/Upload"
58+
DownloadUrl="https://ej2-aspcore-service.azurewebsites.net/api//FileManager/Download"
59+
GetImageUrl="https://ej2-aspcore-service.azurewebsites.net/api/test/FileManager/GetImage">
60+
</FileManagerAjaxSettings>
61+
</SfFileManager>
62+
63+
```
64+
The screenshot below shows that each file begins uploading only after the previous one completes. This demonstrates how the `SequentialUpload` property works in the Blazor File Manager component.
65+
66+
![Blazor File Manager with SequentialUpload](images/blazor-filemanager-sequentialupload.png)
67+
4268
## Chunk Upload
4369

4470
The [ChunkSize](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.FileManager.FileManagerUploadSettings.html#Syncfusion_Blazor_FileManager_FileManagerUploadSettings_ChunkSize) property specifies the size of each chunk when uploading large files. It divides the file into smaller parts, which are uploaded sequentially to the server

0 commit comments

Comments
 (0)