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. Advertisements

  2. Natty Gur

    Natty Gur Guest


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

    Natty Gur[MVP]

    blog :
    Mobile: +972-(0)58-888377

    *** Sent via Developersdex ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur, May 23, 2004
    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.

Share This Page