Arooran
Arooran

Reputation: 637

Passing file from jQuery Ajax method to Webservice

I've a file upload control in my .aspx page. that file upload only allows excel files. after correct file is posted in that control. I'm rendering that control via JavaScript and passing that file to Web service, which has a method to access and do some calculation on that file. I read some article for that. there is no such a functionality exist to transfer file via client side. Do you have any suggestion?

Upvotes: 0

Views: 821

Answers (1)

Niels
Niels

Reputation: 49919

There is a HTML5 File upload, but only FF, chrome and Safari support these functions.

What you can do is using HTML5 upload with Flash or iFrame post as backup.
A plugin with all browser support for jQuery can be found here.

Upvotes: 1

Related Questions