Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi,

 

I'm having a little problem with the asp.net forms. I have a master page and a default page created from new, I've put;

 

<form id="form1" method="post" runat=server enctype ="multipart/form-data" >

<input id="uploadMyFile" type=file runat =server />

<asp:button id="cmdSend" runat="server" Text="Send" onclick="cmdSend_Click"/>

</form>

 

on the Default page, but when I run it I get ' You can only have one form tag ', which I can understand, but how do I go about making it so I can upload files using the form on the Default.aspx? .. or is there another way.

 

 

Thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...