Submit form

Discussion in 'ASP .Net Building Controls' started by Chris Kennedy, May 17, 2004.

  1. I am creating a control which will upload files. The problem I am having is
    the button event I have created does not seem to see the files getting
    posted to it. My first guess is that my event is not posting the form. I can
    add a submit button. How do I create an event that will respond to the
    submit button and enable me to use the httpFileCollection. Also when using
    the FileCollection is there any way to refer to the file by the id the input
    control. Regards, Chris.
     
    Chris Kennedy, May 17, 2004
    #1
    1. Advertisements

  2. Chris Kennedy

    Natty Gur Guest

    Hi,

    you should set form ENCTYPE="multipart/form-data" attribute to uplaod
    files.

    Natty Gur[MVP]

    blog : http://weblogs.asp.net/ngur
    Mobile: +972-(0)58-888377


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    Natty Gur, May 23, 2004
    #2
    1. Advertisements

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. Replies:
    2
    Views:
    6,668
  2. Network-Man
    Replies:
    5
    Views:
    83,969
    gaul1
    Jul 7, 2012
  3. Replies:
    4
    Views:
    1,255
  4. Guest
    Replies:
    2
    Views:
    1,881
    Guest
    Oct 25, 2004
  5. Harry
    Replies:
    3
    Views:
    558
    Harry
    Jan 12, 2006
  6. Megha Vishwanath
    Replies:
    3
    Views:
    1,003
    Megha Vishwanath
    Jul 20, 2004
  7. Replies:
    2
    Views:
    564
  8. Replies:
    3
    Views:
    1,074
Loading...