S
ScottyinLA
I have an ASP.Net WebPage that has a image control, a submit button, and a
fileupload control on it.
When I run the app, the page loads fine. I can click on the image and get
redirected to another page. When I click the IE browser "Back" button, the
first page comes back fine.
If I then click the submit button, the page refreshes (as its sposed to).
Now, when I click on the image and go to the other page, I get a "Page cannot
be displayed" error. This only happens after the page has been posted back it
seems.
If I take the FileUpload control off the page, the error is gone. I can
press the submit button, navigate away and come back no problem.
Can anyone help???
Thanks.
<form id="form1" enctype="multipart/form-data" runat="server">
....
<asp:FileUpload ID="uplFile" runat="server" Width="275px" />
fileupload control on it.
When I run the app, the page loads fine. I can click on the image and get
redirected to another page. When I click the IE browser "Back" button, the
first page comes back fine.
If I then click the submit button, the page refreshes (as its sposed to).
Now, when I click on the image and go to the other page, I get a "Page cannot
be displayed" error. This only happens after the page has been posted back it
seems.
If I take the FileUpload control off the page, the error is gone. I can
press the submit button, navigate away and come back no problem.
Can anyone help???
Thanks.
<form id="form1" enctype="multipart/form-data" runat="server">
....
<asp:FileUpload ID="uplFile" runat="server" Width="275px" />