Aurigma Image Uploader 6.1 Dual
ImageUploader.MessageRedirectText Property
See Also Supported in: ActiveX Java

This property is obsolete.

Text of the message which states that the server returns HTTP code 3xx (e.g. 302 or 304), i.e. when it returns a redirect response.

# Syntax

##### Initialize

JavaScript | Copy Code
--- | ---
    <script type="text/javascript" src="iuembed.js"></script>
    <script type="text/javascript">
    var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
    //...other params...
    iu.addParam("MessageRedirectText", "The server attempted to redirect you to [Name], but server redirects are not supported.");
    //...other params...
    iu.writeHtml();
    </script>

##### Get/Set Value in Runtime

JavaScript | Copy Code
--- | ---
    getImageUploader("ImageUploaderID").setMessageRedirectText(value);
    value = getImageUploader("ImageUploaderID").getMessageRedirectText();

##### Property Value

A string value that specifies a text of the message displayed when server tries to redirect. To disable this message, set it to an empty string.

To be able to display additional information in this error message (the page to redirect), a special keyword is used:

[Name]
  replaced by the address of the page the server attempted to redirect to.

Default value is "The server attempted to redirect you to [Name], but server redirects are not supported.".

# Remarks

If you want to redirect the user after upload, you should use the RedirectUrl property instead.

This property is necessary for localization of Image Uploader.

# See Also

##### Examples

Localization

##### Reference

MessageBoxTitleText Property
MessageCannotConnectToInternetText Property
MessageDimensionsAreTooLargeText Property
MessageDimensionsAreTooSmallText Property
MessageFileSizeIsTooSmallText Property
MessageMaxFileCountExceededText Property
MessageMaxFileSizeExceededText Property
MessageMaxTotalFileSizeExceededText Property
MessageNoInternetSessionWasEstablishedText Property
MessageNoResponseFromServerText Property
MessageRetryOpenFolderText Property
MessageServerNotFoundText Property
MessageUnexpectedErrorText Property
MessageUploadCancelledText Property
MessageUploadCompleteText Property
MessageUploadFailedText Property
MessageUserSpecifiedTimeoutHasExpiredText Property