By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,847 Members | 2,402 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,847 IT Pros & Developers. It's quick & easy.

Uploading Files with Dynamic Controls

P: n/a
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

Nov 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.