Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Postedfile = nothing
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Postedfile = nothing
Miscellaneous
Thread ID:
00666006
Message ID:
00666006
Views:
51
I have an html file textbox that is used to upload files to the server.
<INPUT id="File1" style="Z-INDEX: 101; LEFT: 277px; POSITION: absolute; TOP: 158px" type="file" name="File1" runat="server">
I next have an asp button that calls a method during it's onclick event.

upon entering this method, I suspend the program and find that the File1.PostedFile property is set to "nothing" and when I try to save the file, it gives an error. However, the text property of the field is populated with a valid filename string.

Any ideas why the posted is set to "nothing" ?

Thanks in advance.
Steve Howie, owner
DaSH Technology
Denver, CO
Next
Reply
Map
View

Click here to load this message in the networking platform