Can't select a folder with FileUpload
-
Is it possible to select a folder rather than a file with FileUpload control? If yes, how with code sample in VB/C#. Why I need this is because, I want to read the contents of files in a selected folder a once instead of having to select the files one-after-another. Thanks for your usual support.
-
Is it possible to select a folder rather than a file with FileUpload control? If yes, how with code sample in VB/C#. Why I need this is because, I want to read the contents of files in a selected folder a once instead of having to select the files one-after-another. Thanks for your usual support.
No, otherwise it would be the FOLDER upload control, not the FILE upload control. You might be able to simulate a folder upload using JavaScript and Ajax but there are a lot of variables to consider, like maximum number of files, file size and type, what to do if a file can't be uploaded.
I know the language. I've read a book. - _Madmatt
-
No, otherwise it would be the FOLDER upload control, not the FILE upload control. You might be able to simulate a folder upload using JavaScript and Ajax but there are a lot of variables to consider, like maximum number of files, file size and type, what to do if a file can't be uploaded.
I know the language. I've read a book. - _Madmatt
I appreciate your prompt response. But I can't find the FolderUpload control in my toolbox. Do you have a sample program/article on how to simulate this with JavaScript and Ajax as you said? Thanks.
-
I appreciate your prompt response. But I can't find the FolderUpload control in my toolbox. Do you have a sample program/article on how to simulate this with JavaScript and Ajax as you said? Thanks.
awedaonline wrote:
I can't find the FolderUpload control in my toolbox.
:laugh: :laugh: :laugh: Because there isn't one. :rolleyes: This is a good indicator that you should stop what your doing and let someone else handle it before you hurt yourself
I know the language. I've read a book. - _Madmatt
-
awedaonline wrote:
I can't find the FolderUpload control in my toolbox.
:laugh: :laugh: :laugh: Because there isn't one. :rolleyes: This is a good indicator that you should stop what your doing and let someone else handle it before you hurt yourself
I know the language. I've read a book. - _Madmatt
Thanks