Skip to content

Commit f1574b2

Browse files
committed
984382: Updated the UG document for file manager
1 parent 46d34c4 commit f1574b2

File tree

12 files changed

+30
-7
lines changed

12 files changed

+30
-7
lines changed

blazor/file-manager/drag-and-drop.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ The events which trigger when using drag and drop functionality are listed below
2727
@using Syncfusion.Blazor.FileManager
2828
2929
<SfFileManager AllowDragAndDrop="true" TValue="FileManagerDirectoryContent">
30-
<FileManagerAjaxSettings Url="/api/SampleData/FileOperations"
31-
UploadUrl="/api/SampleData/Upload"
32-
DownloadUrl="/api/SampleData/Download"
33-
GetImageUrl="/api/SampleData/GetImage">
34-
</FileManagerAjaxSettings>
30+
<FileManagerAjaxSettings Url="https://ej2-aspcore-service.azurewebsites.net/api/FileManager/FileOperations"
31+
UploadUrl="https://ej2-aspcore-service.azurewebsites.net/api/FileManager/Upload"
32+
DownloadUrl="https://ej2-aspcore-service.azurewebsites.net/api/FileManager/Download"
33+
GetImageUrl="https://ej2-aspcore-service.azurewebsites.net/api/FileManager/GetImage">
34+
</FileManagerAjaxSettings>
3535
</SfFileManager>
3636
3737
```
@@ -40,5 +40,5 @@ The events which trigger when using drag and drop functionality are listed below
4040

4141
After successful compilation of your application, press `F5` to run the application.
4242

43-
43+
{% previewsample "https://blazorplayground.syncfusion.com/embed/LNhosDjKUCGJtAQx?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
4444
![Drag and Drop in Blazor FileManager](images/blazor-filemanager-drag-and-drop.gif)

blazor/file-manager/file-operations.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,9 @@ The available options for the sort order are:
681681
682682
```
683683

684+
{% previewsample "https://blazorplayground.syncfusion.com/embed/LDhSWNXgUiEgHxKb?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
685+
![File Manager Sorting](./images/sorting.png)
686+
684687
## Custom Sorting
685688

686689
The File Manager component provides a way to customize the default sort action for the LargeIconsView by defining the [`SortComparer`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.FileManager.SfFileManager-1.html#Syncfusion_Blazor_FileManager_SfFileManager_1_SortComparer) property and for sorting individual columns in the DetailsView by defining the `SortComparer` property in the [`FileManagerColumn`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.FileManager.FileManagerColumn.html) class.The `SortComparer` class should implement the [IComparer](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.icomparer-1?view=net-8.0) interface.
29.2 KB
Loading
29.2 KB
Loading
21.4 KB
Loading
15.8 KB
Loading

blazor/file-manager/multiple-file-selection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The File Manager allows the selection of multiple files by enabling the [`AllowM
3030
After successful compilation, the application can be run by pressing `F5`.
3131

3232

33-
33+
{% previewsample "https://blazorplayground.syncfusion.com/embed/BDBeWXZKALyVNmrj?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
3434
![Blazor File Manager with Multiple Selection](images/blazor-filemanager-multi-selection.png)
3535

3636
## Getting Selected Files

blazor/file-manager/pagination.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ The following example demonstrates how to change the page size of a File Manager
3636
<FileManagerPageSettings PageSize="3"></FileManagerPageSettings>
3737
</SfFileManager>
3838
````
39+
40+
{% previewsample "https://blazorplayground.syncfusion.com/embed/VtreiXDqgrHomyEn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
41+
3942
Below is a screenshot illustrating the `PageSize` property in the File Manager component.
4043

4144
![Pagination in Blazor File Manager](images/blazor-filemanager-pagesize.png)
@@ -84,6 +87,8 @@ The following example demonstrates how to implement the `CurrentPage` property.
8487
</FileManagerPageSettings>
8588
</SfFileManager>
8689
````
90+
{% previewsample "https://blazorplayground.syncfusion.com/embed/VNLoiXtKgLEdEWUR?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
91+
8792
Below is a screenshot illustrating the `CurrentPage` property in the File Manager component.
8893

8994
![Pagination in Blazor File Manager](images/blazor-filemanager-currentpage.png)
@@ -124,6 +129,7 @@ Below is an example on how to customize pagination in the Syncfusion<sup style="
124129
}
125130
126131
````
132+
{% previewsample "https://blazorplayground.syncfusion.com/embed/BjBSsNZgAUtSBvRN?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
127133

128134
The screenshot below shows the Blazor File Manager component with a custom pagination button.
129135

@@ -149,6 +155,7 @@ Here is a sample demonstrating how `PageSizes` property is used when Pagination
149155
</SfFileManager>
150156
151157
```
158+
{% previewsample "https://blazorplayground.syncfusion.com/embed/rtVSCXXKgUiWEPWR?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
152159

153160
The screenshot below shows the page sizes dropdown in the File Manager.
154161

blazor/file-manager/toolbar.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ The Toolbar visibility can be controlled using the [Visible](https://help.syncfu
4242
</SfFileManager>
4343
4444
```
45+
{% previewsample "https://blazorplayground.syncfusion.com/embed/VtreiXDqgrHomyEn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
46+
47+
![File Manager Toolbar Visibility](images/toolbar-visible.png)
4548

4649
## Events
4750

blazor/file-manager/upload.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ N> When `DirectoryUpload` is set to `true`, only folders can be uploaded. When i
3737

3838
The screenshot below shows after successfully selecting a directory it uploads all the file inside it automatically. This demonstrates how the `DirectoryUpload` property works in the Blazor File Manager component.
3939

40+
{% previewsample "https://blazorplayground.syncfusion.com/embed/VtreiXDqgrHomyEn?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
41+
4042
![Blazor File Manager with DirectoryUpload](images/blazor-filemanager-directoryupload.png)
4143

4244
## Chunk Upload

0 commit comments

Comments
 (0)