473,406 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Still having postback problems

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
Nov 18 '05 #1
2 953
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?

"Steve" <st***@nowhere.com> wrote in message
news:ex****************@TK2MSFTNGP12.phx.gbl...
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

Nov 18 '05 #2
size was too big.
I'm a dummy ;(
"Steve" <st***@nowhere.com> wrote in message
news:ex****************@TK2MSFTNGP12.phx.gbl...
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

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Mervin Williams | last post by:
Postbacks cause a webform to re-display the page at the top. Well, I have a fairly long form and would like the page display to be re-positioned where the user clicked the button that caused the...
8
by: Brad Simon | last post by:
I have written a shopping cart using ASP .NET (VB). It has been running quite successfully on a site for about a year or so. I use the SessionID as the key to hold information on the shopping...
7
by: Adrian Parker | last post by:
Having a problem with validators. Because we want to only test whether the current field in a changed event is valid before we process the change code, I have tried to turn off all validators for...
16
by: pamelafluente | last post by:
I am still working with no success on that client/server problem. I need your help. I will submit simplified versions of my problem so we can see clearly what is going on. My model: A client...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.