Uploading Files with dynamic controls

Discussion in 'ASP .Net Web Controls' started by Dom, Apr 21, 2004.

  1. Dom

    Dom Guest

    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
    Dom, Apr 21, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dom
    Replies:
    0
    Views:
    287
  2. Ronald
    Replies:
    2
    Views:
    825
    Robbe Morris [C# MVP]
    Jan 17, 2006
  3. Dung Ping
    Replies:
    10
    Views:
    955
    Chaddy2222
    Jan 16, 2006
  4. dermoon
    Replies:
    0
    Views:
    468
    dermoon
    Oct 8, 2003
  5. Denny Smolinski via .NET 247

    Dynamic Controls, Placeholder, Retrieve Information from Dynamic Controls

    Denny Smolinski via .NET 247, May 4, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    455
    Eidolon
    May 4, 2004
Loading...

Share This Page