Two ways of selecting files for uploading

Published 25 July 13 03:10 PM | bipinjoshi

As you know HTML5 has native support for drag and drop operations. A part of this support also allows you to drag files from Windows explorer and drop them on to a web page element. The files can then be uploaded on the server as usual. In addition to HTML5 drag-n-drop you may want to allow users to use classic technique of file selection - displaying an open file dialog and let them select the files. If you are supporting both the types of file selection techniques you may want to hide the File Upload server control from being displayed on the form entirely because generally you will have some other element (usually a graphical element) on which the end user can drop the files.

http://www.bipinjoshi.net/articles/9180f8ec-5b71-4d1b-903b-88e3ed15a8ee.aspx

 

 

 

Filed under: , , ,

Comments

No Comments