Still having postback problems

S

Steve

I have remade this page from scratch, it still won't work.

I think I have finally got some clues that might be useful. I have 3 <input
type="file"> controls on the page. If I use 2, that is if I click the
browse button and choose a file, the page works correctly, by breakpoint in
Page_Load() fires, all that good stuff. If I use all 3 of the file upload
controls, the pages won't post. There is no error, just nothing happens.

So it would appear that I have a limit of 2 controls?

a couple of facts:

They are all named unique and share unique id values
they have the runat tag set to server
there is no server side code happening yet, I have a breakpoint in the
Page_Load(), so none of the image code is even being called yet.


OK, hopefully someone will understand this ;)

Thanks,
Steve
 
S

Steve

Yep, that's the problem:
<form id="Form1" method="post" runat="server">
<INPUT id="file1" type="file" name="file1" runat="server">
<BR><INPUT id="File2" type="file" name="file2" runat="server">
<BR><INPUT id="File3" type="file" name="file2" runat="server">
<P>
<INPUT type="button" value="Button" id="Button1" name="Button1"
runat="server">
</P>
</form>


that code won't post if I choose a file for each one of those. This is
weird. Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top