How can I stop file uploading when a cancel button is clicked in asp.net 2.0?(its very urgent)

Oct 26 2007 5:03 AM

Hi,

I have a fileupload control in my pase(asp.net 2.0).When someone click on the upload botton,a lage mdb file data is uploaded in sql server.I have also a cancel button on the page.When someone clicks the cancel button,I have to stop the file uploading.

I have tried response.end() in the cancel button.But doesnt work.Whenever cancel button is clicked,the page is hanged.

please someone help me to do this.

Thanks in advance.

 


Answers (2)