Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Postedfile = nothing
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Postedfile = nothing
Divers
Thread ID:
00666006
Message ID:
00666006
Vues:
50
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform