Hi,
I am using RadAsyncUpload for multiple file upload, now what i am looking for that somehow if i can access RadAsyncUpload at client side and convert all the upload files in one binary array object so that this binary array object can be passed to WCF method as input paramete that is calling from my javascript.
So What i am looking for is like below sample code
than i can pass this file_content to my WCF service as string.
Can anyone please tell me how to do for RadAsyncUpload in javascript ?
Thanks,
--Jai
I am using RadAsyncUpload for multiple file upload, now what i am looking for that somehow if i can access RadAsyncUpload at client side and convert all the upload files in one binary array object so that this binary array object can be passed to WCF method as input paramete that is calling from my javascript.
So What i am looking for is like below sample code
var Radfile_uploader = document.getElementById(file_uploader_name);
var file_content = new Array();
for (i=0;i<=file_uploader.files.count -1;i++)
{
var file_content = file_uploader.files[i].getAsBinary();
}
than i can pass this file_content to my WCF service as string.
Can anyone please tell me how to do for RadAsyncUpload in javascript ?
Thanks,
--Jai