ejFileExplorer
Namespace: Wisej.Web.Ext.Syncfusion
Assembly: Wisej.Web.Ext.Syncfusion (4.1.0.0)
FileExplorer provides a Windows Explorer-like functionality for any web application. It allows end-users to browse, select and upload files or change the folder structure by renaming, moving and deleting files or folders. File and folder management capabilities are fully customizable and can be disabled when necessary.
- C#
- VB.NET
public class ejFileExplorer : ejBase
Public Class ejFileExplorer
Inherits ejBase
When the widget is created, the wrapper sets its ajaxAction option to the service URL of this control. The file operations requested by the widget are therefore sent to this control and are received by the application through the WebRequest event.
Constructors
ejFileExplorer()
Constructs a new instance of the ejFileExplorer class.
Example:
The following example creates the file explorer and sets the root folder through the options.
var explorer = new ejFileExplorer();
explorer.Options.path = "~/Documents/";
explorer.Dock = DockStyle.Fill;
this.Controls.Add(explorer);
ejFileExplorer(options)
Constructs a new instance of the ejFileExplorer class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial set of options. |
Example:
The following example creates a file explorer that lists only images using the tile layout.
var explorer = new ejFileExplorer(new
{
path = "~/Images/",
fileTypes = "*.png, *.gif, *.jpg, *.jpeg",
layout = "tile"
});
explorer.Dock = DockStyle.Fill;
this.Controls.Add(explorer);