Hello everybody,
@albadiaz, welcome to the Ext.NET forums! Please put this into the page's
<head>
and retest.
Raphael, thank you for the attention to this thread!
<script>
Ext.net.MultiUpload.override({
initSWFUpload : function () {
var settings = {
flash_url: this.flashUrl,
upload_url: this.uploadUrl,
file_size_limit: this.fileSizeLimit,
file_types: this.fileTypes,
file_types_description: this.fileTypesDescription,
file_upload_limit: this.fileUploadLimit !== 0 ? this.fileUploadLimit + 1 : 0,
file_queue_limit: this.fileQueueLimit,
post_params: this.postParams,
button_window_mode: "opaque",
button_disabled : this.disabled,
file_post_name: this.filePostName,
use_query_string : this.useQueryString,
preserve_relative_urls : this.preserveRelativeUrls,
requeue_on_error : this.requeueOnError,
http_success : this.httpSuccess,
assume_success_timeout : this.assumeSuccessTimeout,
prevent_swf_caching : this.preventSwfCaching,
debug: this.debug,
button_placeholder: this.el.down("div.x-swfplaceholder").dom,
file_queued_handler: Ext.Function.bind(this.swfUploadfileQueued, this),
file_dialog_complete_handler: Ext.Function.bind(this.swfUploadFileDialogComplete, this),
upload_start_handler: Ext.Function.bind(this.swfUploadUploadStarted, this),
upload_error_handler: Ext.Function.bind(this.swfUploadUploadError, this),
upload_progress_handler: Ext.Function.bind(this.swfUploadUploadProgress, this),
upload_success_handler: Ext.Function.bind(this.swfUploadSuccess, this),
upload_complete_handler: Ext.Function.bind(this.swfUploadComplete, this),
file_queue_error_handler: Ext.Function.bind(this.swfUploadFileQueError, this),
swfupload_load_failed_handler: Ext.Function.bind(this.swfUploadLoadFailed, this),
swfupload_loaded_handler : Ext.Function.bind(this.flashReady, this),
swfupload_preload_handler : Ext.Function.bind(this.swfUploadPreload, this),
file_dialog_start_handler: Ext.Function.bind(this.fileDialogStartHandler, this),
upload_resize_start_handler: Ext.Function.bind(this.uploadResizeStart, this),
mouse_click_handler: Ext.Function.bind(this.mouseClickHandler, this),
mouse_out_handler: Ext.Function.bind(this.mouseOutHandler, this),
mouse_over_handler: Ext.Function.bind(this.mouseOverHandler, this),
debug_handler: Ext.Function.bind(this.debugHandler, this),
queue_complete_handler : Ext.Function.bind(this.queueCompleteHandler, this)
};
if (this.flashButton) {
Ext.apply(settings, this.flashButton);
}
this.multiUpload = new SWFUpload(settings);
if (this.multiUpload.movieElement) {
this.createUploadButton();
this.flashReady();
}
},
afterRender : function () {
this.callSuper(arguments);
this.initSWFUpload();
if (this.multiUpload.movieElement) {
this.initDragAndDropUploader();
}
}
});
</script>