0

I have several input type files in my asp.net Web Form.

How can I upload files to Server using Jquery, AJAX and C#?

The uploaders are generated programmatically so I cannot upload the files using code behind.

Also, many files must be uploaded at once.

Is there anyway I read the file via Jquery, send it via AJAX to server and upload it there?

THanks

10
  • There are A LOT of articles and plugins on this topic if you simple Google. google.com/… Commented Mar 5, 2013 at 19:20
  • @Shenaniganz I googled a lot, but most of them are used in a php context, others use html5 which is supported by all browsers. Could you post the link of just ONE of all those articles for asp.net ajax jquery fileupload? Commented Mar 5, 2013 at 19:23
  • 1
    I do this with jQuery and VB.NET all the time. I use uploadify and it works great! uploadify Commented Mar 5, 2013 at 19:24
  • use "-php" in Google search query. Quick question. Is it MVC or just asp.net app ? Commented Mar 5, 2013 at 19:25
  • 3
    @zgood you certainly can upload files from a tablet. Commented Mar 5, 2013 at 21:28

1 Answer 1

2

Have a look at Fine Uploader. It does not use flash or java. In fact, it does not have any required dependencies. An optional jQuery plug-in is provided, if you use jQuery though.

Support: IE10-7, Chrome, Firefox, Safari (OS X), as well as Android tablets and phones, along with IOS6 tablets and phones (iPhone & iPad). The Microsoft Surface tablet has also been tested.

There are many features to choose from. Have a look at the demos and, more importantly, the docs and associated blog posts for more details.

Furthermore, there are many server-side examples that may be helpful during integration of this library into your app. See the server directory in the Github project. ASP.NET is one of the many examples.

Sign up to request clarification or add additional context in comments.

1 Comment

+1 This is what we use for uploading to .ashx handlers in .NET. Works great

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.