Represents the parameters used to configure the file manager dialogs in RadEditor, including paths, upload settings, and UI options.
Definition
Namespace:Telerik.Web.UI.Editor.DialogControls
Assembly:Telerik.Web.UI.dll
Syntax:
public class FileManagerDialogParameters : DialogParameters, IDictionary, ICollection, IEnumerable, ISerializable, IDeserializationCallback, ICloneable
Inheritance: objectHashtableDialogParametersFileManagerDialogParameters
Derived Classes:
Implements:
Inherited Members
Constructors
public FileManagerDialogParameters()
protected FileManagerDialogParameters(SerializationInfo info, StreamingContext context)
Properties
Enables or disables multiple item selection in the file browser dialogs.
public bool AllowMultipleSelection { get; set; }
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 array of virtual paths where files or directories can be deleted in the file manager dialogs.
public string[] DeletePaths { get; set; }
An array of strings representing delete paths.
Enables or disables async (no postback) upload in the file browser dialogs.
public bool EnableAsyncUpload { get; set; }
A Bool, specifying whether async upload should be enabled. Default value is false
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, the user should click the "Upload" button to go back to the file explorer view.
Gets or sets the type name of the file browser content provider to be used in the file manager dialogs.
public string FileBrowserContentProviderTypeName { get; set; }
A string representing the fully qualified type name of the content provider.
Gets or sets the maximum allowed upload file size in bytes for the file manager dialogs.
public int MaxUploadFileSize { get; set; }
An integer representing the maximum upload file size in bytes.
Sets the render mode of the controls in the browser dialogs.
public RenderMode RenderMode { get; set; }
A Telerik.Web.UI.RenderMode, specifying the Render mode of the controls in the dialogs. Default value is Telerik.Web.UI.RenderMode.Classic.
Gets or sets the array of search patterns used to filter files in the file manager dialogs.
public string[] SearchPatterns { get; set; }
An array of strings representing file search patterns (wildcards supported).
Gets or sets the array of virtual paths where files can be uploaded in the file manager dialogs.
public string[] UploadPaths { get; set; }
An array of strings representing upload paths.
Methods
public static FileManagerDialogParameters Convert(DialogParameters dialogParameters)