Hi Sunda
This article helps you to do so
http://www.codetoad.com/asp.net_multiplefileupload.as
HT
Sudhakar Sadasivun
Microsoft .NET MVP | MCA
http://weblogs.asp.net/ssadasivun www.mugh.ne
----- Sundar wrote: ----
Hi
I am working on ASP.Net. My requirement is that I want
to Upload Multiple Files to the Server. I need to have
ONLY ONE FILE UPLOAD CONTROL in my page. I SHOULD NOT
SUBMIT THE PAGE FOR EACH AND EVERY DOCUMENT browsed.
I am having a File Upload HTML Control and an Add Button
on my page. The user will browse for the document to be
uploaded and then click on that Add button. I then add the
path of the file to a javascript variable through
javascript. After adding all the documents, the user will
click on Save Button. I then need to upload all the files
by accessing my javascript variable
I used webclient class. I am able to upload all the files
through a single post. But some extra information like
Headers (HTTP CONTENT) gets added to the file. How to
eliminate that
I tried to build as many File Upload Controls as my
javascript variable and setting the value of the file
control from my variable through javascript and submitting
the form. But I am not able to set the value of File
Upload control in javascript. How can i set the value
through javascript
If not, is there any other way to achieve a solution for
my problem
Thanks in advanc
Regard
Sunda