how to get RadAsyncUpload files as binary using javascript

Thread is closed for posting
1 posts, 0 answers
  1. Jai
    Jai avatar
    34 posts
    Member since:
    May 2011

    Posted 20 Oct 2011 Link to this post


    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 ?

Back to Top