Skip to main content

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.

public class ejFileExplorer : 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​

Instance member 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);

Instance member ejFileExplorer(options)​

Constructs a new instance of the ejFileExplorer class.

NameTypeDescription
optionsObjectInitial 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);

Implements​