Skip to content

Commit 3946b8c

Browse files
authored
Merge pull request #3857 from syncfusion-content/ES-935084-FM-PR
934883: Test and resolve issues in UG all sections - ASP core FileManager control.
2 parents 8054118 + 54a35ae commit 3946b8c

File tree

9 files changed

+77
-81
lines changed

9 files changed

+77
-81
lines changed

ej2-asp-core-mvc/file-manager/flat-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The File Manager uses a flat data JSON as an array of objects for rendering, eli
1919
Event Name | Description
2020
--- | ---
2121
[beforeDelete](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.FileManager.FileManager.html#Syncfusion_EJ2_FileManager_FileManager_BeforeDelete) | This event is triggered before the deletion of a file or folder occurs. It can be utilized to prevent the deletion of specific files or folders. Any actions, such as displaying a spinner for deletion, can be implemented here.
22-
[delete](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.FileManager.FileManager.html#Syncfusion_EJ2_FileManager_FileManager_Delete) | DeleteEventArgs | path, itemData, cancel. | This event is triggered after the file or folder is deleted successfully. The deleted file or folder details can be retrieved here. Additionally, custom elements' visibility can be managed here based on the application's use case.
22+
[delete](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.FileManager.FileManager.html#Syncfusion_EJ2_FileManager_FileManager_Delete) | This event is triggered after the file or folder is deleted successfully. The deleted file or folder details can be retrieved here. Additionally, custom elements' visibility can be managed here based on the application's use case.
2323
[beforeFolderCreate](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.FileManager.FileManager.html#Syncfusion_EJ2_FileManager_FileManager_BeforeFolderCreate) | This event is triggered before a folder is created. It allows for the restriction of folder creation based on the application's use case.
2424
[folderCreate](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.FileManager.FileManager.html#Syncfusion_EJ2_FileManager_FileManager_FolderCreate) | This event is triggered when a folder is successfully created. It provides an opportunity to retrieve details about the newly created folder.
2525
[search](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.FileManager.FileManager.html#Syncfusion_EJ2_FileManager_FileManager_Search) | This event is triggered when a search action occurs in the search bar of the File Manager control. It triggers each character entered in the input during the search process.
Loading

ej2-asp-core-mvc/file-manager/localization.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: post
3-
title: Localization in ##Platform_Name## File Manager Component
4-
description: Learn here all about Localization in Syncfusion ##Platform_Name## File Manager component of Syncfusion Essential JS 2 and more.
3+
title: Localization in ##Platform_Name## File Manager Control | Syncfusion
4+
description: Learn here all about Localization in Syncfusion ##Platform_Name## File Manager control of Syncfusion Essential JS 2 and more.
55
platform: ej2-asp-core-mvc
66
control: Localization
77
publishingplatform: ##Platform_Name##
@@ -11,7 +11,7 @@ documentation: ug
1111

1212
# Localization
1313

14-
The file manager can be localized to any culture by defining the texts and messages of the file manager in the corresponding culture. The default locale of the file manager is `en`(English). The following table represents the default texts and messages of the file manager in `en` culture.
14+
The File Manager can be localized to any culture by defining its texts and messages in the corresponding culture. The default locale of the File Manager is `en`(English). The following table represents the default texts and messages of the File Manager in `en` culture.
1515

1616
|KEY|Text/Message|
1717
|----|----|
@@ -108,16 +108,16 @@ The file manager can be localized to any culture by defining the texts and messa
108108
|Network-Error|NetworkError: Failed to send on XMLHTTPRequest: Failed to load|
109109
|Server-Error|ServerError: Invalid response from|
110110

111-
The below example shows adding the German culture locale(`de-DE`)
111+
The example below shows how to add the German culture locale(`de-DE`)
112112

113113
{% if page.publishingplatform == "aspnet-core" %}
114114

115115
{% tabs %}
116116
{% highlight cshtml tabtitle="CSHTML" %}
117117
{% include code-snippet/file-manager/locale/tagHelper %}
118118
{% endhighlight %}
119-
{% highlight c# tabtitle="HomeController_mvc.cs" %}
120-
{% include code-snippet/file-manager/locale/HomeController_mvc.cs %}
119+
{% highlight c# tabtitle="HomeController_core.cs" %}
120+
{% include code-snippet/file-manager/locale/HomeController_core.cs %}
121121
{% endhighlight %}
122122
{% endtabs %}
123123

@@ -135,6 +135,6 @@ The below example shows adding the German culture locale(`de-DE`)
135135

136136

137137

138-
Output be like the below.
138+
The output will look like the image below.
139139

140140
![Localization](./images/localization.png)

ej2-asp-core-mvc/file-manager/multiple-selection.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: post
3-
title: Multiple Selection in ##Platform_Name## Syncfusion File Manager Component
4-
description: Learn here all about Multiple Selection in Syncfusion ##Platform_Name## File Manager component of Syncfusion Essential JS 2 and more.
3+
title: Multiple Selection in ##Platform_Name## Syncfusion File Manager Control | Syncfusion
4+
description: Learn here all about Multiple Selection in Syncfusion ##Platform_Name## File Manager control of Syncfusion Essential JS 2 and more.
55
platform: ej2-asp-core-mvc
66
control: Multiple Selection
77
publishingplatform: ##Platform_Name##
@@ -11,18 +11,18 @@ documentation: ug
1111

1212
# Multiple Selection in File Manager
1313

14-
The file manager allows you to select multiple files by enabling the [`allowMultiSelection`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.FileManager.FileManager~AllowMultiSelection.html) property (enabled by default). The multiple selection can be done by pressing the `Ctrl` key or `Shift` key and selecting the files. The check box can also be used to do multiple selection. `Ctrl + A` can be used to select all files in the current directory. The [`fileSelect`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.FileManager.FileManager~FileSelect.html) event will be triggered when the items of file manager control is selected or unselected.
14+
The File Manager allows multiple file selection through the [`allowMultiSelection`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.FileManager.FileManager~AllowMultiSelection.html) property (enabled by default). The multiple selection can be done by pressing the `Ctrl` key or `Shift` key and selecting the files. The check box can also be used to do multiple selection. `Ctrl + A` can be used to select all files in the current directory. The [`fileSelect`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.FileManager.FileManager~FileSelect.html) event will be triggered when the items of File Manager control is selected or unselected.
1515

16-
The below example shows File manager allows you to select multiple files using [`allowMultiSelection`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.FileManager.FileManager~AllowMultiSelection.html) property.
16+
The example below demonstrates how the File Manager allows multiple file selection using the [`allowMultiSelection`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2~Syncfusion.EJ2.FileManager.FileManager~AllowMultiSelection.html) property.
1717

1818
{% if page.publishingplatform == "aspnet-core" %}
1919

2020
{% tabs %}
2121
{% highlight cshtml tabtitle="CSHTML" %}
2222
{% include code-snippet/file-manager/multiple-selection/tagHelper %}
2323
{% endhighlight %}
24-
{% highlight c# tabtitle="HomeController_mvc.cs" %}
25-
{% include code-snippet/file-manager/multiple-selection/HomeController_mvc.cs %}
24+
{% highlight c# tabtitle="HomeController_core.cs" %}
25+
{% include code-snippet/file-manager/multiple-selection/HomeController_core.cs %}
2626
{% endhighlight %}
2727
{% endtabs %}
2828

@@ -39,14 +39,13 @@ The below example shows File manager allows you to select multiple files using [
3939
{% endif %}
4040

4141

42-
43-
Output be like the below.
42+
The output will look like the image below.
4443

4544
![FileManager multiselection](./images/detailsview.png)
4645

4746
## Range Selection
4847

49-
The File Manager supports for selecting files and folders in specific ranges through mouse drag as like File Explorer. This is particularly useful in scenarios where users need to select a large group of files quickly without manually clicking each one.
48+
The File Manager supports selecting files and folders in specific ranges through mouse drag, similar to File Explorer. This is particularly useful in scenarios where users need to select a large group of files quickly without manually clicking each one.
5049

5150
### Enabling Range Selection
5251

@@ -58,8 +57,8 @@ To enable range selection, you need to set the [enableRangeSelection](https://he
5857
{% highlight cshtml tabtitle="CSHTML" %}
5958
{% include code-snippet/file-manager/range-selection/tagHelper %}
6059
{% endhighlight %}
61-
{% highlight c# tabtitle="HomeController_mvc.cs" %}
62-
{% include code-snippet/file-manager/range-selection/HomeController_mvc.cs %}
60+
{% highlight c# tabtitle="HomeController_core.cs" %}
61+
{% include code-snippet/file-manager/range-selection/HomeController_core.cs %}
6362
{% endhighlight %}
6463
{% endtabs %}
6564

@@ -77,6 +76,6 @@ To enable range selection, you need to set the [enableRangeSelection](https://he
7776
{% endtabs %}
7877
{% endif %}
7978

80-
Output be like the below.
79+
The output will look like the image below.
8180

8281
![FileManager rangeselection](./images/rangeselection.png)

ej2-asp-core-mvc/file-manager/overview.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: post
3-
title: Overview in ##Platform_Name## File Manager Component
4-
description: Learn here all about Overview in Syncfusion ##Platform_Name## File Manager component of Syncfusion Essential JS 2 and more.
3+
title: Overview in ##Platform_Name## File Manager Control | Syncfusion
4+
description: Learn here all about Overview in Syncfusion ##Platform_Name## File Manager control of Syncfusion Essential JS 2 and more.
55
platform: ej2-asp-core-mvc
66
control: Index
77
publishingplatform: ##Platform_Name##
@@ -10,7 +10,7 @@ documentation: ug
1010

1111
# Overview
1212

13-
The **File Manager** is a graphical user interface component for managing the file system that allows the users to perform most common file operation like accessing, editing, and sorting the files and folders. Also, this component has easy navigation functionality for browsing the folders to select a file or folder from the file system.
13+
The **File Manager** is a graphical user interface control for managing the file system that allows the users to perform most common file operation like accessing, editing, and sorting the files and folders. Also, this control has easy navigation functionality for browsing the folders to select a file or folder from the file system.
1414

1515
## Key features
1616

@@ -26,7 +26,7 @@ The **File Manager** is a graphical user interface component for managing the fi
2626

2727
### View preferences
2828

29-
The **Views** property allows you to customize, how the folders or files in the file system should be displayed in the file manager.
29+
The **Views** property allows you to customize, how the folders or files in the file system should be displayed in the File Manager.
3030

3131
The File Manager provides the following two view options to change the layout of the File Manger window.
3232

@@ -52,12 +52,12 @@ Types of navigation support available in File Manager are:
5252

5353
### Data Handling
5454

55-
* `Multi-Selection` - The file manager control is provided with built-in support for multiple files or folder selection. Multiple file selection will be effective when a single operation like download or delete is performed over multiple files in the file system.
55+
* `Multi-Selection` - The File Manager control is provided with built-in support for multiple files or folder selection. Multiple file selection will be effective when a single operation like download or delete is performed over multiple files in the file system.
5656

5757
* `Sorting` - Files and folders in the file system can be sorted either in the ascending or descending order by clicking the column header. Files and folders can be sorted based on the name, date created, size, and more.
5858

5959
### RTL and Localization support
6060

6161
* Supports right-to-left (RTL) direction alignment for users working in right-to-left languages like Hebrew and Arabic.
6262

63-
* The file manager control uses localization library (l10) to localize the text values. The texts and messages displayed in the user interface can be localized to any desired language as needed.
63+
* The File Manager control uses localization library (l10) to localize the text values. The texts and messages displayed in the user interface can be localized to any desired language as needed.

ej2-asp-core-mvc/file-manager/upload.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
---
22
layout: post
3-
title: Upload in Syncfusion ##Platform_Name## File Manager Component
4-
description: Learn here all about Upload in Syncfusion ##Platform_Name## File Manager component of Syncfusion Essential JS 2 and more.
3+
title: Upload in Syncfusion ##Platform_Name## File Manager Control | Syncfusion
4+
description: Learn here all about Upload in Syncfusion ##Platform_Name## File Manager control of Syncfusion Essential JS 2 and more.
55
platform: ej2-asp-core-mvc
66
control: Upload
77
publishingplatform: ##Platform_Name##
88
documentation: ug
99
---
1010

11-
# Upload in File Manager component
11+
# Upload in File Manager control
1212

13-
The File Manager component provides a [uploadSettings](https://ej2.syncfusion.com/javascript/documentation/api/file-manager/#uploadsettings) property with various options to customize how files are uploaded, including controlling file size, restricting file types, checking for excessively large and empty files, and enabling chunk uploads.
13+
The File Manager control provides a [uploadSettings](https://ej2.syncfusion.com/javascript/documentation/api/file-manager/#uploadsettings) property with various options to customize how files are uploaded, including controlling file size, restricting file types, checking for excessively large and empty files, and enabling chunk uploads.
1414

1515
## Directory Upload
1616

17-
The [directoryUpload](https://ej2.syncfusion.com/javascript/documentation/api/file-manager/uploadSettingsModel/#directoryupload) property controls whether users can browse and upload entire directories (folders) in the Syncfusion File Manager component.
17+
The [directoryUpload](https://ej2.syncfusion.com/javascript/documentation/api/file-manager/uploadSettingsModel/#directoryupload) property controls whether users can browse and upload entire directories (folders) in the Syncfusion File Manager control.
1818

1919
To enable directory upload, set the `directoryUpload` property to `true` in the `uploadSettings` configuration.
2020

@@ -32,7 +32,7 @@ This property allows you to enable chunked uploads for large files by specifying
3232

3333
By specifying a `chunkSize`, the large file is divided into smaller parts, reducing the load on the network and making the upload process more efficient.
3434

35-
With chunk upload, the pause and resume options gives users enhanced control over the file upload process.
35+
With chunk upload, the pause and resume options give users enhanced control over the file upload process.
3636

3737
![File Manager with chunkUpload](./images/filemanager-chunkupload.png)
3838

@@ -43,29 +43,29 @@ With chunk upload, the pause and resume options gives users enhanced control ove
4343
4444
## Auto Upload
4545

46-
The [autoUpload](https://ej2.syncfusion.com/documentation/api/file-manager/uploadSettingsModel/#autoupload) property controls whether files are automatically uploaded when they are added to the upload queue in the File Manager component.
46+
The [autoUpload](https://ej2.syncfusion.com/documentation/api/file-manager/uploadSettingsModel/#autoupload) property controls whether files are automatically uploaded when they are added to the upload queue in the File Manager control.
4747

4848
The default value is `true`, the File Manager will automatically upload files as soon as they are added to the upload queue. If set to `false`, the files will not be uploaded automatically, giving you the chance to manipulate the files before uploading them to the server.
4949

5050
## Auto Close
5151

5252
The [autoClose](https://ej2.syncfusion.com/documentation/api/file-manager/uploadSettingsModel/#autoclose) property controls whether the upload dialog automatically closes after all the files have been uploaded.
5353

54-
The default value is set to `false`, the upload dialog remains open even after the upload process is complete. If `autoClose` set to `true`, the upload dialog will automatically close after all the files in the upload queue are uploaded.
54+
The default value is set to `false`. When set to this value, the upload dialog remains open even after the upload process is complete. If `autoClose` set to `true`, the upload dialog will automatically close after all the files in the upload queue are uploaded.
5555

5656
## Prevent upload based on file extensions
5757

58-
The [allowedExtensions](https://ej2.syncfusion.com/documentation/api/file-manager/uploadSettingsModel/#allowedextensions) property specifies which file types are allowed for upload in the File Manager component by defining their extensions.
58+
The [allowedExtensions](https://ej2.syncfusion.com/documentation/api/file-manager/uploadSettingsModel/#allowedextensions) property specifies which file types are allowed for upload in the File Manager control by defining their extensions.
5959

6060
This property lets you define which file types can be uploaded by specifying allowed extensions, separated by commas. For example, to allow only image files, you would set the `allowedExtensions` property to .jpg,.png.
6161

6262
By setting the `allowedExtensions` property, you restrict the file types that can be uploaded. Only files with the specified extensions will be accepted.
6363

6464
## Restrict drag and drop upload
6565

66-
The File Manager component provides support for external drag-and-drop functionality for uploading files by dragging it from local file system to File Manager.
66+
The File Manager control provides support for external drag-and-drop functionality for uploading files by dragging it from local file system to File Manager.
6767

68-
Setting [allowDragAndDrop](https://ej2.syncfusion.com/angular/documentation/api/file-manager#allowdraganddrop) property to false will not prevent the file upload operation through external drag and drop. It will only prevent drag and drop action within the File Manager component
68+
Setting [allowDragAndDrop](https://ej2.syncfusion.com/angular/documentation/api/file-manager#allowdraganddrop) property to false will not prevent the file upload operation through external drag and drop. It will only prevent drag and drop action within the File Manager control.
6969

7070
To completely prevent the external drag-and-drop upload functionality (i.e., disallowing users from dragging and dropping files from outside into the File Manager), you can set the [dropArea](https://ej2.syncfusion.com/documentation/api/uploader#droparea) property to null. This can be done by accessing the File Manager instance via its class methods.
7171

0 commit comments

Comments
 (0)