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

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

Share This Page