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

CustomMessagesComponent

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

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>

Selector

kendo-upload-messages, kendo-fileselect-messages, kendo-uploaddropzone-messages

Inputs

NameTypeDefaultDescription

cancel

string

'Cancel'

Sets the text for the Cancel button.

clearSelectedFiles

string

'Clear'

Sets the text for the Clear button.

dropFilesHere

string

'Drop files here to upload'

Sets the drop-zone hint.

externalDropFilesHere

string

'Drag and drop files here to upload'

Sets the external drop-zone hint.

filesBatchStatus

string

'files'

Sets the status message for a batch of files.

filesBatchStatusFailed

string

'files failed to upload.'

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

filesBatchStatusUploaded

string

'files successfully uploaded.'

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

fileStatusFailed

string

'File failed to upload.'

Sets the file status message after failed upload.

fileStatusUploaded

string

'File successfully uploaded.'

Sets the file status message after successful upload.

headerStatusPaused

string

'Paused'

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

headerStatusUploaded

string

'Done'

Sets the header status message after the file upload completes.

headerStatusUploading

string

'Uploading...'

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

invalidFileExtension

string

'File type not allowed.'

Sets the text for the invalid allowedExtensions restriction message.

invalidMaxFileSize

string

'File size too large.'

Sets the text for the invalid maxFileSize restriction message.

invalidMinFileSize

string

'File size too small.'

Sets the text for the invalid minFileSize restriction message.

pause

string

'Pause'

Sets the text for the Pause button.

remove

string

'Remove'

Sets the text for the Remove button.

resume

string

'Resume'

Sets the text for the Resume button.

retry

string

'Retry'

Sets the text for the Retry button.

select

string

'Select files...'

Sets the text for the Select button.

uploadSelectedFiles

string

'Upload'

Sets the text for the Upload files button.

In this article
SelectorInputs
Not finding the help you need?
Contact Support