Uploading Files Using ASP.NET Web Forms, Generic Handler and jQuery

Posted by bipinjoshi on ASP.net Weblogs See other posts from ASP.net Weblogs or by bipinjoshi
Published on Thu, 27 Jun 2013 03:52:00 GMT Indexed on 2013/06/27 4:22 UTC
Read the original article Hit count: 257

Filed under:
|
|

In order to upload files from the client machine to the server ASP.NET developers use FileUpload server control. The FileUpload server control essentially renders an INPUT element with its type set to file and allows you to select one or more files. The actual upload operation is performed only when the form is posted to the server. Instead of making a full page postback you can use jQuery to make an Ajax call to the server and POST the selected files to a generic handler (.ashx). The generic handler can then save the files to a specified folder. The remainder of this post shows how this can be accomplished.

http://www.bipinjoshi.net/articles/f2a2f1ee-e18a-416b-893e-883c800f83f4.aspx

 

 

 

 

 

 

© ASP.net Weblogs or respective owner

Related posts about ASP.NET

Related posts about html5