Definition
Namespace:Telerik.Web.UI.Dialogs
Assembly:Telerik.Web.UI.dll
Syntax:
[RequiredScript(typeof(jQueryPlugins))]
[RequiredScript(typeof(DialogControlInitializer))]
[ClientScriptResource("Telerik.Web.UI.Editor.DialogControls.FileBrowser", "Telerik.Web.UI.Dialogs.UserControlFileBrowser.js")]
public abstract class UserControlFileBrowser : UserControlBase, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl, IClientParameterConsumer
Inheritance: objectControlWebControlRadWebControlUserControlBaseUserControlFileBrowser...
Derived Classes:
Implements:
Inherited Members
Constructors
protected UserControlFileBrowser()
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
protected virtual string[] DefaultSearchPatterns { get; }
public virtual string[] DeletePaths { get; set; }
public override string DialogName { get; }
Overrides:
protected DialogParameters DialogParameters { get; }
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.
protected RadFileExplorer FileBrowser { get; }
public string FileBrowserContentProviderTypeName { get; set; }
public int MaxFileSize { get; set; }
protected virtual FileManagerDialogParameters Parameters { get; }
public string PreselectedItemUrl { get; set; }
public virtual string[] SearchPatterns { get; set; }
public virtual string[] UploadPaths { get; set; }
Methods
protected override void DescribeComponent(IScriptDescriptor descriptor)
Overrides: