Hello,
I am using file upload in my mvc project. If I upload big file , it takes time to upload , but suppose if I click back button, it should say - File is uploading, Do u want to abort?
So how to catch if file is uploading ?
Thank you
Hello,
I am using file upload in my mvc project. If I upload big file , it takes time to upload , but suppose if I click back button, it should say - File is uploading, Do u want to abort?
So how to catch if file is uploading ?
Thank you
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ganesan CRank #369 · 6.8K reputationPosted Aug 21, 2021, 5:16 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Aug 21, 2021, 8:08 AM EDT
Guest UserRank #2,192 · 643 reputationPosted Aug 21, 2021, 5:36 AM EDT
Guest UserRank #2,192 · 643 reputationPosted Aug 21, 2021, 9:21 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Aug 21, 2021, 4:45 PM EDT
Guest UserRank #2,192 · 643 reputationPosted Aug 23, 2021, 5:08 AM EDT
Thank you Sachin for your reply
Maybe with your code, I'll have to change all my code.
Is there any changes I can do in my existing code , such as ajax.pause or ajax.stop , to pause or to stop upload respectively.
I have already posted my Upload code earlier.
Simple flow should be :
1. I will Upload file
2. Then it will show Pause, Resume and Cancel options
3. After I click on one of the option, it should perform it's action
I know it's been a quite requirement., but please guide me to fix this.
Thank you !