« FOAF & Trackback = Six Degrees of Webloggers | Main | Für die ganze Sie Mitarbeiter heraus dort. »

February 06, 2004

RE: HTMLInputFile

When using the ASP.NET control HTMLInputFile (read <input type="file">), make sure to use both the name and id attributes in order to be able to parse the ".PostedFile.FileName". Also ... make sure your <form> tag has the attribute enctype="multipart/form-data" or the file upload won't work.

Sorry about the bolds. Just wanted to make an effect.

Posted by sgowell at February 6, 2004 02:04 PM

Comments

Post a comment

Thanks for signing in, . Now you can comment. (sign out)

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


Remember me?