C
Clive Lumb
Hi,
I am not at all an expert in html & asp.net and I am runnin ginto a problem
with a very simple web application.
It is a page with a datagrid showing some data and a fileupload control that
allows the user to upload a file.
Everything works fine... except - when a user has uploaded a file, if he
then later refreshes the page to see if the database stuff has changed the
file gets uploaded again.
Now I suspect that this is something to do with postbacks - but I must admit
that I cannot make head nor tail of the Microsoft help on this.
Basically all I need to do is upload the file, refresh a label saying "your
file xxx has been uploaded" and then "clear" the fileupload so that
subsequent refreshes do not trigger another upload.
Help please? And in words of no more than two syllables.
TYVMIA
I am not at all an expert in html & asp.net and I am runnin ginto a problem
with a very simple web application.
It is a page with a datagrid showing some data and a fileupload control that
allows the user to upload a file.
Everything works fine... except - when a user has uploaded a file, if he
then later refreshes the page to see if the database stuff has changed the
file gets uploaded again.
Now I suspect that this is something to do with postbacks - but I must admit
that I cannot make head nor tail of the Microsoft help on this.
Basically all I need to do is upload the file, refresh a label saying "your
file xxx has been uploaded" and then "clear" the fileupload so that
subsequent refreshes do not trigger another upload.
Help please? And in words of no more than two syllables.
TYVMIA