1

I have an html page and I want to upload a file usign the basic html input file without using the asp.net fileupload control. I tried to write the following code in the html page and redirect it to the home page (aspx page)

<form action ="../../default.aspx" enctype="multipart/form-data" method="post" name="myform">

                <input id="upload_file" type="file" />
                <input id="sumbit_button" type="submit" value="submit"/>

but the Request.Files does not contain the upload_file

1 Answer 1

3

unfortunately I did not get any answer, I solved it by using aspx file instead of html

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.