New to Kendo UI for AngularStart a free 30-day trial

Custom component messages override default component messages (more information and example).

Definition

Package:@progress/kendo-angular-upload

Selector:kendo-upload-messages, kendo-fileselect-messages, kendo-uploaddropzone-messages

Syntax:

html
<!-- Custom messages for FileSelect -->
<kendo-fileselect>
    <kendo-fileselect-messages
        dropFilesHere="Drop your file here"
        select="Upload file">
    </kendo-fileselect-messages>
</kendo-fileselect>

<!-- Custom messages for Upload -->
<kendo-upload>
    <kendo-upload-messages
        dropFilesHere="Drop your file here"
        fileStatusFailed="File upload failed"
        fileStatusSuccessful="File upload successful">
    </kendo-upload-messages>
</kendo-upload>

<!-- Custom messages for UploadDropZone -->
<kendo-uploaddropzone>
    <kendo-uploaddropzone-messages
        externalDropFilesHere="Drag and your file here">
    </kendo-uploaddropzone-messages>
</kendo-uploaddropzone>

Inputs

cancel

string

Sets the text for the Cancel button.

Default:

'Cancel'

Sets the text for the Clear button.

Default:

'Clear'

Sets the drop-zone hint.

Default:

'Drop files here to upload'

Sets the external drop-zone hint.

Default:

'Drag and drop files here to upload'

Sets the status message for a batch of files.

Default:

'files'

Sets the status message for a batch of files after failed upload.

Default:

'files failed to upload.'

Sets the status message for a batch of files after successful upload.

Default:

'files successfully uploaded.'

Sets the file status message after failed upload.

Default:

'File failed to upload.'

Sets the file status message after successful upload.

Default:

'File successfully uploaded.'

Sets the header status message when the file upload is paused.

Default:

'Paused'

Sets the header status message after the file upload completes.

Default:

'Done'

Sets the header status message during the upload of the file.

Default:

'Uploading...'

Sets the text for the invalid allowedExtensions restriction message.

Default:

'File type not allowed.'

Sets the text for the invalid maxFileSize restriction message.

Default:

'File size too large.'

Sets the text for the invalid minFileSize restriction message.

Default:

'File size too small.'

pause

string

Sets the text for the Pause button.

Default:

'Pause'

remove

string

Sets the text for the Remove button.

Default:

'Remove'

resume

string

Sets the text for the Resume button.

Default:

'Resume'

retry

string

Sets the text for the Retry button.

Default:

'Retry'

select

string

Sets the text for the Select button.

Default:

'Select files...'

Sets the text for the Upload files button.

Default:

'Upload'