Kendo UI localization TagHelper UploadLocalizationSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("localization", ParentTag = "kendo-upload", TagStructure = TagStructure.WithoutEndTag)]
[HtmlTargetElement("localization", ParentTag = "upload-editor", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class UploadLocalizationSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseUploadLocalizationSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-upload name="upload">
<localization cancel="Abort Upload" />
</kendo-upload>
Constructors
Initializes a new instance of the UploadLocalizationSettingsTagHelper class.
public UploadLocalizationSettingsTagHelper()
Properties
Sets the text of the Clear button.
public string ClearSelectedFiles { get; set; }
Sets the hint of the drop-zone.
public string DropFilesHere { get; set; }
Sets the paused status message of the header.
public string HeaderStatusPaused { get; set; }
Sets the status message of the header for the uploaded files.
public string HeaderStatusUploaded { get; set; }
Sets the status message of the header for the files that are in the process of upload.
public string HeaderStatusUploading { get; set; }
Sets the text of the validation message for an invalid file extension.
public string InvalidFileExtension { get; set; }
Sets the text of the validation messages for invalid files when the batch property is set to true and two or more files fail the validation.
public string InvalidFiles { get; set; }
Sets the text of the validation message for an invalid maximum file size.
public string InvalidMaxFileSize { get; set; }
Sets the text of the validation message for an invalid minimum file size.
public string InvalidMinFileSize { get; set; }
Sets the status message for failed uploads.
public string StatusFailed { get; set; }
Sets the status message for successful uploads.
public string StatusUploaded { get; set; }
Sets the status message for files that are in the process of upload.
public string StatusUploading { get; set; }
Sets the text of the validation message when a file fails to upload.
public string UploadFail { get; set; }
Sets the text of the Upload files button.
public string UploadSelectedFiles { get; set; }
Sets the text of the validation message when a file is succesfully uploaded.
public string UploadSuccess { 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.