I'm afraid I don't know what you mean. I created a very simple aspx page
using an upload control from ASP.net and it seemed to work exactly as the
one hosted on the page to which you're linking.
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:FileUpload ID="FileUpload1" runat="server" />
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click"
Text="Button" /></div>
</form>
</body>
</html>
Perhaps I am missing something fundamental in your question? If I type some
garbage into the upload text box and click to upload, the behavior is the
same as this other one.
--
~~~~~~~~~~~
Ben Rush
http://www.ben-rush.net/blog
<br******@hotmail.comwrote in message
news:11**********************@d57g2000hsg.googlegr oups.com...
How do I do a client-side check to see that a file exists before
attempting to upload it? I am trying to avoid the "Access denied"
error I get on form submission if an invalid name is entered in the
textbox.
This page does it beautifully:
http://msconline.maconstate.edu/tuto...pnet09-11.aspx
But how???
Seems like an obvious feature to discuss, but NOTHING I've seen online
explains how to do.