Class FileManager
Inheritance
System.Object
FileManager
Assembly: Syncfusion.EJ2.dll
Syntax
public class FileManager : EJTagHelper
Constructors
FileManager()
Declaration
Properties
AjaxSettings
Specifies the AJAX settings of the file manager.
Declaration
public FileManagerAjaxSettings AjaxSettings { get; set; }
Property Value
AllowDragAndDrop
Enables or disables drag-and-drop of files.
Declaration
public bool AllowDragAndDrop { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
AllowMultiSelection
Enables or disables the multiple files selection of the file manager.
Declaration
public bool AllowMultiSelection { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
BeforeDownload
Triggers before sending the download request to the server.
Declaration
public string BeforeDownload { get; set; }
Property Value
Type |
Description |
System.String |
|
BeforeImageLoad
Triggers before sending the getImage request to the server.
Declaration
public string BeforeImageLoad { get; set; }
Property Value
Type |
Description |
System.String |
|
Triggers before the dialog is closed.
Declaration
public string BeforePopupClose { get; set; }
Property Value
Type |
Description |
System.String |
|
Triggers before the dialog is opened.
Declaration
public string BeforePopupOpen { get; set; }
Property Value
Type |
Description |
System.String |
|
BeforeSend
Triggers before sending the AJAX request to the server.
Declaration
public string BeforeSend { get; set; }
Property Value
Type |
Description |
System.String |
|
ClassName
Declaration
protected override string ClassName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Specifies the context menu settings of the file manager.
Declaration
public FileManagerContextMenuSettings ContextMenuSettings { get; set; }
Property Value
Created
Triggers when the file manager component is created.
Declaration
public string Created { get; set; }
Property Value
Type |
Description |
System.String |
|
CssClass
Specifies the root CSS class of the file manager that allows you to customize the appearance by overriding the styles.
Declaration
public string CssClass { get; set; }
Property Value
Type |
Description |
System.String |
|
Destroyed
Triggers when the file manager component is destroyed.
Declaration
public string Destroyed { get; set; }
Property Value
Type |
Description |
System.String |
|
DetailsViewSettings
Specifies the details view settings of the file manager.
Declaration
public FileManagerDetailsViewSettings DetailsViewSettings { get; set; }
Property Value
EnableHtmlSanitizer
Defines whether to allow the cross-scripting site or not.
Declaration
public bool EnableHtmlSanitizer { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnablePersistence
Enables or disables persisting component's state between page reloads. If enabled, the following APIs will persist:
view
: Represents the previous view of the file manager.
path
: Represents the previous path of the file manager.
selectedItems
: Represents the previous selected items in the file manager.
Declaration
public bool EnablePersistence { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnableRtl
Enable or disable rendering component in right to left direction.
Declaration
public bool EnableRtl { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Failure
Triggers when the AJAX request is failed.
Declaration
public string Failure { get; set; }
Property Value
Type |
Description |
System.String |
|
FileDragging
Triggers while dragging the file/folder.
Declaration
public string FileDragging { get; set; }
Property Value
Type |
Description |
System.String |
|
FileDragStart
Triggers when the file/folder dragging is started.
Declaration
public string FileDragStart { get; set; }
Property Value
Type |
Description |
System.String |
|
FileDragStop
Triggers when the file/folder is about to be dropped at the target.
Declaration
public string FileDragStop { get; set; }
Property Value
Type |
Description |
System.String |
|
FileDropped
Triggers when the file/folder is dropped.
Declaration
public string FileDropped { get; set; }
Property Value
Type |
Description |
System.String |
|
FileLoad
Triggers before the file/folder is rendered.
Declaration
public string FileLoad { get; set; }
Property Value
Type |
Description |
System.String |
|
FileOpen
Triggers before the file/folder is opened.
Declaration
public string FileOpen { get; set; }
Property Value
Type |
Description |
System.String |
|
FileSelect
Triggers when the file/folder is selected/unselected.
Declaration
public string FileSelect { get; set; }
Property Value
Type |
Description |
System.String |
|
FileSelection
Triggers before the file/folder is selected.
Declaration
public string FileSelection { get; set; }
Property Value
Type |
Description |
System.String |
|
Height
Specifies the height of the file manager.
Declaration
public string Height { get; set; }
Property Value
Type |
Description |
System.String |
|
HtmlAttributes
Allows additional HTML attributes such as title, name, etc., and
accepts n number of attributes in a key-value pair format.
Declaration
public object HtmlAttributes { get; set; }
Property Value
Type |
Description |
System.Object |
|
IsFor
Declaration
protected override bool IsFor { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Locale
Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
Declaration
public string Locale { get; set; }
Property Value
Type |
Description |
System.String |
|
Triggers when the context menu item is clicked.
Declaration
public string MenuClick { get; set; }
Property Value
Type |
Description |
System.String |
|
Triggers before the context menu is opened.
Declaration
public string MenuOpen { get; set; }
Property Value
Type |
Description |
System.String |
|
NameSpace
Declaration
protected override string NameSpace { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
NavigationPaneSettings
Specifies the navigationpane settings of the file manager.
Declaration
public FileManagerNavigationPaneSettings NavigationPaneSettings { get; set; }
Property Value
Path
Specifies the current path of the file manager.
Declaration
public string Path { get; set; }
Property Value
Type |
Description |
System.String |
|
Triggers when the dialog is closed.
Declaration
public string PopupClose { get; set; }
Property Value
Type |
Description |
System.String |
|
Triggers when the dialog is opened.
Declaration
public string PopupOpen { get; set; }
Property Value
Type |
Description |
System.String |
|
Specifies the target element in which the File Manager’s dialog will be displayed.
The default value is null, which refers to the File Manager element.
Declaration
public string PopupTarget { get; set; }
Property Value
Type |
Description |
System.String |
|
RootAliasName
Specifies the root folder alias name in file manager
Declaration
public string RootAliasName { get; set; }
Property Value
Type |
Description |
System.String |
|
SearchSettings
Specifies the search settings of the file manager.
Declaration
public FileManagerSearchSettings SearchSettings { get; set; }
Property Value
SelectedItems
Specifies the selected folders and files name of the file manager.
Declaration
public string[] SelectedItems { get; set; }
Property Value
Type |
Description |
System.String[] |
|
ShowFileExtension
Shows or hides the file extension in file manager.
Declaration
public bool ShowFileExtension { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ShowHiddenItems
Shows or hides the files and folders that are marked as hidden.
Declaration
public bool ShowHiddenItems { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ShowThumbnail
Shows or hides the thumbnail images in largeicons view.
Declaration
public bool ShowThumbnail { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
SortBy
Specifies the field name being used as the sorting criteria to sort the files of the file manager component.
Declaration
public string SortBy { get; set; }
Property Value
Type |
Description |
System.String |
|
SortOrder
Specifies a value that indicates whether the folders and files are sorted in the ascending or descending order,
or they are not sorted at all. The available types of sort orders are,
None
- Indicates that the folders and files are not sorted.
Ascending
- Indicates that the folders and files are sorted in the ascending order.
Descending
- Indicates that the folders and files are sorted in the descending order.
Declaration
public SortOrder SortOrder { get; set; }
Property Value
Success
Triggers when the AJAX request is success.
Declaration
public string Success { get; set; }
Property Value
Type |
Description |
System.String |
|
TagName
Declaration
protected override string TagName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Triggers when the toolbar item is clicked.
Declaration
public string ToolbarClick { get; set; }
Property Value
Type |
Description |
System.String |
|
Triggers before creating the toolbar.
Declaration
public string ToolbarCreate { get; set; }
Property Value
Type |
Description |
System.String |
|
Specifies the group of items aligned horizontally in the toolbar.
Declaration
public FileManagerToolbarSettings ToolbarSettings { get; set; }
Property Value
UploadListCreate
Triggers before rendering each file item in upload dialog box.
Declaration
public string UploadListCreate { get; set; }
Property Value
Type |
Description |
System.String |
|
UploadSettings
Specifies the upload settings for the file manager.
Declaration
public FileManagerUploadSettings UploadSettings { get; set; }
Property Value
View
Specifies the initial view of the file manager.
With the help of this property, initial view can be changed to details or largeicons view. The available views are:
LargeIcons
Details
Declaration
public ViewType View { get; set; }
Property Value
Width
Specifies the width of the file manager.
Declaration
public string Width { get; set; }
Property Value
Type |
Description |
System.String |
|