## Aurigma Image Uploader 6.1 Dual

# ImageUploader.MessageMaxTotalFileSizeExceededText Property

- Collapse All Sections
- See Also
- Language Filter ( all languages )
- Supported in: ActiveX , Java

Text of the error message which states that the total size of selected files is too large.

## Syntax

### Initialize

### JavaScript

    <script type="text/javascript" src="iuembed.js">  </script>
    <script type="text/javascript">
    var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
    //...other params...
    iu.addParam("MessageMaxTotalFileSizeExceededText", "The file [Name] cannot be selected. Total upload data size exceeds the limit ([Limit] KB).");
    //...other params...
    iu.writeHtml();
    </script>

### Get/Set Value in Runtime

### JavaScript

    getImageUploader("ImageUploaderID").setMessageMaxTotalFileSizeExceededText(value);
    value = getImageUploader("ImageUploaderID").getMessageMaxTotalFileSizeExceededText();

### Property Value

A string value which specifies a text of the error message stating that the total size of selected files is too large (i.e. exceeds the MaxTotalFileSize value). To disable this message, set it to an empty string.

To be able to display additional information in this error message (like the FileName, and the limit you specified), special keywords are used:

[Name]
  replaced by the name of the file which cannot be added.
[Limit]
  replaced by the MaxTotalFileSize value (the max total files size allowed for upload).

Default value is "The file [Name] cannot be selected. Total upload data size exceeds the limit ([Limit] KB).".

## Remarks

This property is necessary for localization of Image Uploader.

Note

If you want to specify a multiline text use the "\n" sequence to separate lines.

## See Also

### Examples

- Localization
- Specifying Restrictions for Size and Number of Files

### Reference

- MessageBoxTitleText Property
- MessageCannotConnectToInternetText Property
- MessageDimensionsAreTooLargeText Property
- MessageDimensionsAreTooSmallText Property
- MessageFileSizeIsTooSmallText Property
- MessageMaxFileCountExceededText Property
- MessageMaxFileSizeExceededText Property
- MessageNoInternetSessionWasEstablishedText Property
- MessageNoResponseFromServerText Property
- MessageRetryOpenFolderText Property
- MessageServerNotFoundText Property
- MessageUnexpectedErrorText Property
- MessageUploadCancelledText Property
- MessageUploadCompleteText Property
- MessageUploadFailedText Property
- MessageUserSpecifiedTimeoutHasExpiredText Property
- AllowMultipleSelection Property
- FileIsTooLargeText Property
- FileIsTooSmallText Property
- MaxFileCount Property
- MaxFileSize Property
- MaxTotalFileSize Property
- MinFileSize Property
- TotalFileSize Property
- UploadFileCount Property
- UploadFileCountChange Event