K
Knoxy
Hey all,
I hope someone can help me on this one as it's driving me nuts.
Basically i have the asp:fileupload control embedded on my page but,
hasfile 'always' returns false. I have tried using the
enctype="multipart/form-data" on my form but that doesn't make any
difference.
I have this working on an asp.net 1.1 (using <input type=file>) and
it's fine but this sites asp.net 2.0.
My code is as follows:
<form enctype="multipart/form-data" runat="server" method="post"
id="frmFileUpload">
<asp:FileUpload ID="fuFilename" runat="server" Width="400" />
</form>
Is there anything I'm missing? Any ideas much appreciated!
Andrew
I hope someone can help me on this one as it's driving me nuts.
Basically i have the asp:fileupload control embedded on my page but,
hasfile 'always' returns false. I have tried using the
enctype="multipart/form-data" on my form but that doesn't make any
difference.
I have this working on an asp.net 1.1 (using <input type=file>) and
it's fine but this sites asp.net 2.0.
My code is as follows:
<form enctype="multipart/form-data" runat="server" method="post"
id="frmFileUpload">
<asp:FileUpload ID="fuFilename" runat="server" Width="400" />
</form>
Is there anything I'm missing? Any ideas much appreciated!
Andrew