I am trying to integrate your library into my asp.net application but finding some issues can you please help me to resolve my issue.
How can I set a different upload button ? using this property addMore: true it directly upload the file on the server asynchronously but we have a separate button where we need to upload files ?
$('#btnSubmit').click(function () {
var filerKit = $("#demo-fileInput-5").prop("jFiler");
filerKit.options.uploadFile = {
url: 'Handler.ashx',
data: null, //Data to be sent to the server {Object}
type: 'POST',
enctype: 'multipart/form-data',
synchron: false, //Upload synchron the files
beforeSend: null, //A pre-request callback function {Function}
success: null, //A function to be called if the request succeeds {Function}
error: null, //A function to be called if the request fails {Function}
statusCode: null, //An object of numeric HTTP codes {Object}
onProgress: null, //A function called while uploading file with progress percentage {Function}
onComplete: null
};
filerKit.retry();
return false;
});
Hello Admin,
I am trying to integrate your library into my asp.net application but finding some issues can you please help me to resolve my issue.