New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Enacpsulates the properties for RadFileExplorer's configuration

Definition

Namespace:Telerik.Web.UI.FileExplorer

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class FileExplorerConfiguration : StateManager, IMarkableStateManager, IStateManager

Inheritance: objectStateManagerFileExplorerConfiguration

Derived Classes: FileManagerDialogConfiguration

Implements: IMarkableStateManagerIStateManager

Inherited Members StateManager.TrackViewState()StateManager.LoadViewState(object)StateManager.SaveViewState()StateManager.IsTrackingViewStateStateManager.ViewStateobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public FileExplorerConfiguration()

Properties

Allows the option to change the extension of the file while renaming the item. Default value is true

C#
public virtual bool AllowFileExtensionRename { get; set; }

Enables or disables multiple item selection in the file browser dialogs.

C#
public virtual bool AllowMultipleSelection { get; set; }
Property Value:

A Bool, specifying whether multiple item selection should be enabled. Default value is false

Used in the RadEditor dialogs like Image Manager, Document Manager. If the value is set to true, will allow multiple files / folders to be selected and deleted / copied / moved. Also, if Insert button is clicked all the selected file items will be inserted in the editor's content area

Gets or sets the fully qualified type name of the FileBrowserContentProvider used in the dialog, including the assembly name, version, culture, public key token.

C#
public string ContentProviderTypeName { get; set; }
Property Value:

The default value is string.Empty

When the value of this property is string.Empty (default), the dialog will use the integrated FileSystemContentProvider.

Gets or sets the delete paths of the FileManager dialog.

C#
[TypeConverter(typeof(ListConverter))]
public string[] DeletePaths { get; set; }
Property Value:

A string array, containing virtual paths in which files or subdirectories can be deleted. The default value is an empty String array.

As only files/folders, contained in the ViewPaths array will be displayed, users are able to delete only the files/folders, belonging to the intersection of the ViewPaths and UploadPaths properties.

Enables or disables asynchronous (no postback) upload in the file browser dialogs.

C#
public bool EnableAsyncUpload { get; set; }
Property Value:

A Bool, specifying whether async upload should be enabled. Default value is true.

Used in the RadEditor dialogs like Image Manager, Document Manager. If the value is set to true, uploading new files in these dialogs will happen faster - without a doing a full postback. Selecting a file will start the upload process immediately. After the file(s) are successfuly uploaded, and its status icon is green, the user should click the "Upload" button to go back to the refreshed file explorer view.

This property gets the current content provider type. To set the content provider type use ContentProviderTypeName

C#
[Browsable(false)]
[Bindable(false)]
public Type FileBrowserContentProviderType { get; }

If no provider is set, this property will return the default FileSystemContentProvider

Gets or sets the max filesize which users are able to upload in bytes

C#
public int MaxUploadFileSize { get; set; }
Property Value:

An int, representing the max filesize which users are able to upload in bytes.

The value of the MaxUploadFileSize property should be less or equal to the <httpRuntime maxRequestLength...> website property, specified in either the web.config or machine.config files. The <httpRuntime maxRequestLength...> property controls the allowed post request length for the website.

Gets or sets the extension patterns for files to be displayed in the FileManager dialog.

C#
[TypeConverter(typeof(ListConverter))]
public string[] SearchPatterns { get; set; }
Property Value:

A string array, containing extension patterns for files to be displayed in the FileManager dialog.

Values can contain wildcars (e.g. ., *.j?g)

Gets or sets the upload paths of the FileManager dialog.

C#
[TypeConverter(typeof(ListConverter))]
public string[] UploadPaths { get; set; }
Property Value:

A string array, containing virtual paths to which files can be uploaded or subfolders can be created. The default value is an empty String array.

As only files/folders, contained in the ViewPaths array will be displayed, users are able to upload files/create subfolders only to folders, belonging to the intersection of the ViewPaths and UploadPaths properties.

Gets or sets the view paths of the FileManager dialog.

C#
[TypeConverter(typeof(ListConverter))]
public string[] ViewPaths { get; set; }
Property Value:

A string array, containing virtual paths which subfolders and files the FileManager dialog will search and display. The default value is an empty String array.