Kendo UI upload TagHelper FileManagerUploadSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("upload", ParentTag = "kendo-filemanager", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("async", new string[] { "localization", "validation" })]
[SuppressTagRendering]
public class FileManagerUploadSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseFileManagerUploadSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-filemanager name="filemanager">
<upload>
<async />
</upload>
</kendo-filemanager>
Child Tags
Constructors
Initializes a new instance of the FileManagerUploadSettingsTagHelper class.
public FileManagerUploadSettingsTagHelper()
Properties
Fires when the upload was cancelled while in progress. Upload Events.
public string Cancel { get; set; }
Fires when the files are cleared by clicking on the Clear button. Upload Events.
public string Clear { get; set; }
Fires when all active uploads complete—either successfully or with errors. Upload Events.
public string Complete { get; set; }
Enables the selection of folders instead of files.
public bool? Directory { get; set; }
Fires when an upload or remove operation fails. Upload Events.
public string Error { get; set; }
Enables (if set to true) or disables (if set to false) the selection of multiple files. If set to false, the user can select only one file at a time.
public bool? Multiple { get; set; }
Fires when the files are cleared by clicking the Pause button. The button is visible if chunksize is set. Upload Events.
public string Pause { get; set; }
Fires when the data about the progress of the upload is available. Upload Events.
public string Progress { get; set; }
Fires when an uploaded file is about to be removed. If the event is canceled, the remove operation is prevented. Upload Events.
public string Remove { get; set; }
Fires when the files are resumed through clicking the Resume button. The button is visible if chunksize is set and the file upload is paused. Upload Events.
public string Resume { get; set; }
Enables (if set to true) or disables (if set to false) the display of a file listing for the file upload. The disabling of a file listing might be useful if you want to customize the UI. To build your own UI, use the client-side events.
public bool? ShowFileList { get; set; }
Fires when an upload or remove operation is completed successfully. Upload Events.
public string Success { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.