This event fires if some error occurred during the current upload session.
<script type="text/javascript"> function ImageUploaderFlash1_Error(errorCode, httpResponseCode, errorPage, additionalInfo){ //...your code... } </script>
<aur:ImageUploaderFlash ID="ImageUploaderFlash1" runat="server"> <ClientEvents> <aur:ClientEvent EventName="Error" HandlerName="ImageUploaderFlash1_Error" /> </ClientEvents> </aur:ImageUploaderFlash>
<script type="text/javascript"> function ImageUploaderFlash1_Error(errorCode, httpResponseCode, errorPage, additionalInfo){ //...your code... } </script>
<?php $ImageUploaderFlash = new ImageUploaderFlash("ImageUploaderFlash1"); //...other params... $ImageUploaderFlash->getClientEvents()->setError("ImageUploaderFlash1_Error"); //...other params... $ImageUploaderFlash->render(); ?>
function ImageUploaderFlash1_Error(errorCode, httpResponseCode, errorPage, additionalInfo){ //...your code... }
$au.imageUploaderFlash({ events: { //...other params... error: [ImageUploaderFlash1_Error], //...other params... } })
Type: Number
One of the following values:
false
);Type: Number
The HTTP error code received from the server (if any).
Type: String
The web page containing error description, returned from the server (if any).
Type: String
Text message that can be displayed to the user.
This event allows you to handle errors which can occur during the upload.