0
uploader= new plupload.Uploader({
runtimes: 'gears,html5,flash,silverlight,browserplus,html4',
browse_button: 'pickFile',
container: 'FileContainer',
max_file_size: '2048mb',
url: '<%=Url.Action("testaction", "testcontroller",
new { area = "testArea" }) %>',
flash_swf_url: flashVideomm,
silverlight_xap_url: silverLightmm,
multipart: true,
multipart_params: { "form": ''
},
filters: [
{ title: "Excel file", extensions: "xlsx" }
]
});
uploader.bind('FileUploaded', function (up, file, info) {
// Redirect after successful upload
alert(info);
});
在上面的示例中,「FileUploaded」事件根本沒有被觸發。不確定是什麼問題。Plupload -FileUploaded事件未被觸發