Uploading Files with Dynamic Controls

D

Dom

Hi

I want to allow users upload a variable number of files from a single page.
User nominates the number of files and then is presented with a
corresponding
number of input boxes.

I create the input boxes dynamically, but am unable to access the
HttpPostedFile
for each server control once the page is posted.

Is is possible to create a control on postback and the user viewstate to
associate the
file from the reponse header so that I can exploit the properties and
methods of the
HttpPostedFile to handle the file uploading for each file.

Or am I approaching this problem the wrong way.

Thanks for your time

Dominic
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,019
Latest member
RoxannaSta

Latest Threads

Top