This is a migrated thread and some comments may be shown as answers.

how to get RadAsyncUpload files as binary using javascript

0 Answers 208 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Jai
Top achievements
Rank 1
Jai asked on 20 Oct 2011, 12:38 PM
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
   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

No answers yet. Maybe you can help?

Tags
Upload (Obsolete)
Asked by
Jai
Top achievements
Rank 1
Share this question
or