Last post Sep 24, 2013 11:35 PM by jats_ptl
Sep 24, 2013 02:56 PM|gj11944|LINK
I have question about file upload .... there is three upload control in asp.net ...
one statnderd fileupload ,(2) is Ajax file upload and 3) is AsyncFileUpload
what is the difference between all these ?
and what is Async FileUpload ? how it works ...what is the meaning of Async FileUpload ?
Sep 24, 2013 03:10 PM|MetalAsp.Net|LINK
FileUpload: built-in to visual studio. Allows file upload but with a postback.
AsyncFileUpoad: same as above, but without the postback.
AjaxFileUpload: same as AsyncFileUpload but supports multiple file uploads.
For the last two, see here:
Sep 24, 2013 07:47 PM|A2H|LINK
AsyncFileUpload is an ASP.NET AJAX Control that allows you asynchronously upload files to server. The file uploading results can be checked both in the server and client sides.
AjaxFileUpload is an ASP.NET Ajax control which enables you to upload multiple files to the server asynchronously. When the control is used with a browser which supports the latest features of HTML5 -- such as Microsoft Internet Explorer 10, Mozilla Firefox
9, or Google Chrome 17 -- then the AjaxFileUpload supports displaying file upload progress. The control displays a progress bar as the file is being uploaded.
If a browser does not support the HTML5 File API (for example, Internet Explorer 9) then upload progress is not displayed and a throbber image is displayed instead. In other words, a busy wait image is displayed instead of actual progress.
The AjaxFileUpload control also supports a drag-and-drop interface. You can add multiple files to the AjaxFileUpload upload queue by dragging the files onto the AjaxFileUpload control on a page. Alternatively, you can select multiple files to upload by using
the SHIFT key or CTRL key when selecting files with the file upload dialog. These features are not supported by older browsers.
By taking advantage of the AllowedFileTypes property, you can restrict the types of files which can be uploaded with the AjaxFileUpload control. For example, you can prevent any file except image files (files with the extensions jpeg, png, or gif)
from being uploaded. By taking advantage of the MaximumNumberOfFiles property, you can limit the number of files which can be uploaded with the control. For example, you can prevent a user from uploading more than 5 files.
Standard File Upload
Standard ASP.NET fileUpload user have to bear PostBacks and It Utilizes Server Completely till it finishes Upload.
Sep 24, 2013 11:29 PM|chetan.sarode|LINK
Refer my reply here- http://forums.asp.net/t/1830951.aspx
Sep 24, 2013 11:35 PM|jats_ptl|LINK
Difference have been discussed above and following is the answer for AsyncFileUpload Control.
As we know, File Upload control of ASP.NET does not work within update panel. If we want to place it in update panel, then also postback trigger is required to upload the file. This cool control allows you to upload the file in an asynchronous manner. Below
are few key points about this control:
Hope this helps.